Caret does not maintain position when editing value
This masked input seems to work great when entering values in succession, but when entering values in the middle of the string the caret typically jumps to the end of the input on reformatting. I would expect the caret to be after the character typed.
Sure, if you can improve this behaviour your pull request will be welcomed.
#211
I've started something to solve this issue, for a while, it's working fine
If you're using mask with numbers only, try using input type tel, the keyboard allows only number typing, and the caret positioning seems to work fine. Don't know how to explain this, since the creator claims it's supposed to work only on type text #157