Fix: input组件传入value后导致光标异常
Author: FourKnifeCreated Jun 24, 2025Updated Aug 28, 2026
Labelsbug
Version of antd-mobile
5.40.0
Operating system and its version
No response
Browser and its version
No response
Sandbox to reproduce
No response
What happened?
给VirtualInput传入value后, 并当删除为空时,强行塞入一个0, 会导致光标位置错误, 预期光标在最后面
Relevant log output
Source: ant-design/ant-design-mobile