Inputmask
Inputmask copied to clipboard
Does not erase the country code on mobile devices
- Describe the bug: On mobile devices, deleting characters in the field does not erase the country code (see animation) and blocks typing. I use Inputmask with a phone extension, but the pure Inputmask has a similar bug – after manually type the country code. It looks like an incorrect caret position calculation. However, on desktop devices, everything is fine.
- https://jsfiddle.net/Shark941/z5jw2y3g/4/ (only Inputmask) and https://jsfiddle.net/Shark941/2b5kx7zs/12/ (Inputmask+phone extention)
- OS: Android, iOS
- Browser: Chrome, Safari, FireFox
- Inputmask version: 5.0.3 (pure and jquery)
Inputmask+phone extention
Inputmask
Hi @GamerX-Ar ,
I can reproduce the issue. I will see how to fix it.