angular-libphonenumber icon indicating copy to clipboard operation
angular-libphonenumber copied to clipboard

Cursor does not move to end of input when number is reformatted

Open Gamaroff opened this issue 7 years ago • 1 comments

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.

Gamaroff avatar Mar 15 '17 08:03 Gamaroff

I made a PR for this. (https://github.com/cwill747/angular-libphonenumber/pull/92)

FabianMeul avatar Sep 19 '17 11:09 FabianMeul