angular-libphonenumber
angular-libphonenumber copied to clipboard
Cursor does not move to end of input when number is reformatted
The cursor does not follow the formatting correctly.
Expected Behavior
As the number is formatted automatically the cursor should move to the end so new numbers can be inserted.
Current Behavior
As the number is typed spaces are automatically inserted. The cursor does not move to after the last inserted number. It remains in front and so the next number being added is inserted in front of the last.
Possible Solution
Ensure that the cursor is always at the end of the number being typed.
I made a PR for this. (https://github.com/cwill747/angular-libphonenumber/pull/92)