react-phone-input-2
react-phone-input-2 copied to clipboard
While trying to edit the number it shows weird behaviour.
While trying to edit the number in version 2.13.9 it is showing weird behavior. For example, if I have typed 8567 and want to insert 23456 before 5, after typing 1 or 2 digits the cursor automatically gets moved to the end of the number. It makes editing very uncomfortable and hence it is not allowing to add digits in the middle.
I experience same issue with 2.13.9 version and it's also visible on a demo https://bl00mber.github.io/react-phone-input-2.html Problem is that it's possible to change only 2 numbers and then third one goes to the end of the phone instead of staying in the middle: https://streamable.com/a8ffrz
I checked only 2 browsers: Chrome and Firefox and it's reproducible in both.
P.S. jumpCursorToEnd flag doesn't change behavior and seems to be not working
Partially resolved by #481