-
Notifications
You must be signed in to change notification settings - Fork 10
Android keyboards caret jumping #2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
You should always provide exact reproduction steps and the actual/expected outcome. |
Added examples to the issue desc. |
Oh, I see. Line 41 in 513e780
The first example though behaves like these "set caret position" function calls take no effect. I think it could be related to the keyboard not allowing manual caret repositioning when editing a DOM <input/> or something like that.I.e. I think it's a bug in Samsung keyboard. The "Google keyboard" example on the other hand does allow manual caret repositioning and therefore works as expected. I guess this issue can be closed now since supporting non-standards compliant keyboards is out of the scope of the library. |
So, the current state of the issue is: there seems to be an issue with some Samsung Android phones. |
I was revisiting this issue and looked for similar issues in other libraries. Added such a workaround in this library too. |
Caret doesn't jump over programmatically inserted symbols (like spaces, parentheses, etc) when using default Samsung and Sony keyboards.
Examples
Input sequence:
987654321
|
means caret position.Samsung keyboard
Expected
987654321
Actual
876321459
👎Google keyboard
Expected
987654321
Actual
987654321
👍Although the input mask works as expected when using Google keyboard (GBoard).
The text was updated successfully, but these errors were encountered: