ngMask
ngMask copied to clipboard
Problems when writing in android
Let me explain. let's say I've written this mask 99/99/9999
. If i write the sequence 1, 2, 3, 4, 5 , 6 etc in this order. The result is this 12/45/63
. Because when come the time to put the divisor, the cursor back to back.
For me works well in Android 4.4.2 but in Android 4.3 has the same problem.
Any workaround?
The same problem here in Chrome on Android 6.0. <.. mask="999 999 999" restrict="reject" minlength="9"> Typing 123456789 gives me 123 567 984
Damn, I need to fix it asap :/
The issue is: after fourth character - cursor is jumping to third position
Same problem over here. I did not find any solution on the internet, even though I searched exhaustively.
I am getting this issue in ... ... Oppo F1s (ColorOS v3.0.0i (based on Android 5.1)) ... HTC One M8 (Android v6.0) ... iOS (iPhone 6)
However it is working fine in ... Moto X Play (Android v6.0.1) ... Micromax Q371 (Android v4.4.2)
I'm having the same issue here in the Android 5.1 Moto X.
Also having this issue with a Moto G, Android 5.1
check the issue #127
If anyone needs the fix asap and can't wait for #136 be merged, its possible to install the dependency directly from the commit. But this should be only a temp fix.
This should work both in npm and bower:
"ngMask": "[email protected]:candreoliveira/ngMask.git#a73544ca3a3a2b35558d25ad331235ff65c2fcb2",
@mathportillo I tried installing the plugin using that branch of ngmask, and it didn't work. I had to add the code after line 142 as per this comment. After I did that it worked perfectly on Android 7.0.