Bug
Steps to reproduce:
- Go to the official demo page: https://htmlpreview.github.io/?https://github.com/angular-ui/ui-mask/master/demo/index.html
- Select some mask e.g.
(999) 999-9999
- Enter any characters in the "Masked input" field
- Put the cursor at the end
- Select characters including any mask character, e.g.
- or )
- Enter any characters
Result: cursor is on the one before last position
Expected behaviour: cursor is on the last position
Demo:
