ngx-mask
ngx-mask copied to clipboard
Input working wrong when using iOS Japanese keyboard
I've tried input with mask and regex pattern on Japanese keyboard on iOS but cursor always at the beginning of the input; When type character .i.e: pp the input result つpp
rather than 'pp'
(It seem there is problem with 2 byte character and maybe with autocomplete of 2 byte keyboard)
I have a same issue on iOS 13.3.1 + WebView application.
when it will be fixed?
I can reproduce it consistently but on Windows with Chinese Simplified Keyboard with Chinese input method. The symptoms are the same.
To reproduce it:
Prerequisites
- Windows 10
- Chinese simplfied keyboard
- Chinese input mode (see picture)
- Chrome
Steps
- Open the official JsDaddy page for testing the component: https://jsdaddy.github.io/ngx-mask-page/main
- Ensuring that the chinese input mode is selected, start typing some number in an input field with a mask (e.g. Date)
- Right before the mask element (in this case '/') is printed out, any number typed will be duplicated
Hope these steps help reproduce and solve this problem
Yes! I have the same issue when I use Chinese input method on windows
@bugkillerma @jdhmoreno @lambdadbmal @anpi0316 @anhhh11 Thanks for using Ngx-Mask. We tried to reproduce this bug, but unfortunately all work as expected. Please try the new version 16.3.8, if it has this problem, then reopen the new issue with stackblitz. Check it in our documentation - https://jsdaddy.github.io/ngx-mask/