ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Input working wrong when using iOS Japanese keyboard

Open anhhh11 opened this issue 5 years ago • 4 comments

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)

anhhh11 avatar Nov 18 '19 04:11 anhhh11

I have a same issue on iOS 13.3.1 + WebView application.

lambdadbmal avatar Mar 10 '20 23:03 lambdadbmal

when it will be fixed?

anpi0316 avatar May 20 '21 15:05 anpi0316

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

chineseKeyboard_chineseEntryModus

Steps

  1. Open the official JsDaddy page for testing the component: https://jsdaddy.github.io/ngx-mask-page/main
  2. Ensuring that the chinese input mode is selected, start typing some number in an input field with a mask (e.g. Date)
  3. Right before the mask element (in this case '/') is printed out, any number typed will be duplicated

chineseKeyboard_problem

Hope these steps help reproduce and solve this problem

jdhmoreno avatar Jun 10 '21 06:06 jdhmoreno

Yes! I have the same issue when I use Chinese input method on windows

bugkillerma avatar Jun 10 '21 06:06 bugkillerma

@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/

andriikamaldinov1 avatar Sep 25 '23 10:09 andriikamaldinov1