-
Notifications
You must be signed in to change notification settings - Fork 220
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
Wrong cursor position on component update #260
Comments
I got the same problem with you, how can I fix it? |
This issue is still not fixed... please let us know if there is a solution for it ? |
I've found a temporary walkaround for this issue.
|
I still have the problems can anyone help me ? |
I'm using formatted number from onPhoneNumberChange to be value of the input. The cursor position is fine when formatted number is exactly the same as input, but when the formatted number is different than the value, then cursor is misplaced.
Live minimal example here: https://tomegz.github.io/react-intl-tel-input-cursor-example/
Code:
I submitted #261 to fix this issue
The text was updated successfully, but these errors were encountered: