You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InputItem type is when the phone is like 123 4567 8919 After 3, delete it, and find that it can't be deleted, the cursor will automatically end to the end.
I have searched the issues of this repository and believe that this is not a duplicate.
When InputItem type is phone, for example, 123 4567 8919 deletes after 3, and finds that it cannot be deleted, the cursor will automatically end to the end.
What is expected?
When InputItem type is phone, for example, 123 4567 8919 is deleted after 3, I hope to delete it, the cursor will not automatically end to the end.
What is actually happening?
When InputItem type is phone, for example, 123 4567 8919 deletes after 3, and finds that it cannot be deleted, the cursor will automatically end to the end.
* Fix(InputItem): Adjust the caret position of the formatted value (#2840#1553#1208#1162#1165#810)
* refactor: remove onChange in the event loop, refactor adjustCaretPosition
* Fix(InputItem): caret position problem when using android phone keyboard
Version
2.2.4
Environment
ios12
Reproduction link
https://antd-mobile.gitee.io/components/input-item-cn/#components-input-item-demo-basic
Steps to reproduce
InputItem type为phone的时候 比如123 4567 8919 在3后去删除,发现删不掉,光标会自动到末尾
What is expected?
InputItem type为phone的时候 比如123 4567 8919 在3后去删除,希望能删掉,光标不会自动到末尾
What is actually happening?
InputItem type为phone的时候 比如123 4567 8919 在3后去删除,发现删不掉,光标会自动到末尾
The text was updated successfully, but these errors were encountered: