-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor movement bug on Android Devices #432
Comments
I notice the same. It's OK in 1.13.9, but broken again in 1.14.0. |
I can confirm cursor issue is in 1.14.0, but my sample works perfectly in 1.13.9. I have the same issue using RobinHerbots's inputmask. Cursor/Caret remains on left side of textbox and text does not input correctly. Android 6.0.1 Nexus 5 / Chrome 52.0.2743.98 Not the best sample, but here's what I was testing with. I just need something that only allows alpha and some other characters that are common in people's names: |
It seems to be related to predictive text in Android signavio/react-mentions#30. Depending on the situation "type=tel" or "autocomplete=off" are possible workarounds. Looks like they did some predictive text detection to fix the problem. |
Does anyone knows what I should do to fix this? LOL |
Hi @igorescobar, |
@diebugger Could you submit it as a PR? |
@DimonTD @clifforama @ThatMouse @pmccloghrylaing @diebugger can you guys test this PR? #464 |
I've tested it and it causes a different problem.
The current version of the plugin produces '1234-3215' as the caret stays just after the '-'. This pull request produces '1234-1567' because the caret gets moved to the end. Also, I found my suggestion of "autocomplete=off" or "type=tel" doesn't fix this. |
@pmccloghrylaing So I guess we are back to the square 0? 😭 |
guys... lets all talk into the PR #464. I'm going to close this so we can organize this talk in only one thread. |
@igorescobar, have some bug with input mask on Android devices. When typing digits in "Telephone" input, cursor stay still and values are added immediately after it.
For better understanding, I've recorded the video on device:
https://www.dropbox.com/s/0igokg7vvx8l0us/2016_07_18_13_12_37.mp4?dl=0
Samsung Galaxy Note 3
Android: 5.0
Chrome version: 51.0.2704.81
Plugin version: 1.14.0
UPDATE: after little research, I've founded closed issue #348 and fix in version 1.13.5. I've installed this version in my project and tested with same Andoid device, and it's work fine. With lastest version 1.14.0 bug is reproduced
The text was updated successfully, but these errors were encountered: