ngMask icon indicating copy to clipboard operation
ngMask copied to clipboard

Problems when writing in android

Open jhonylucas74 opened this issue 9 years ago • 11 comments

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.

jhonylucas74 avatar Aug 21 '15 13:08 jhonylucas74

For me works well in Android 4.4.2 but in Android 4.3 has the same problem.

brunomrpx avatar Sep 04 '15 14:09 brunomrpx

Any workaround?

vko-online avatar Oct 13 '15 04:10 vko-online

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

devolkpl avatar Jan 10 '17 17:01 devolkpl

The issue is: after fourth character - cursor is jumping to third position

devolkpl avatar Jan 10 '17 17:01 devolkpl

Same problem over here. I did not find any solution on the internet, even though I searched exhaustively.

anderson631 avatar Jan 10 '17 23:01 anderson631

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)

chiragandroid avatar Jan 17 '17 14:01 chiragandroid

I'm having the same issue here in the Android 5.1 Moto X.

edvanmc avatar Jan 18 '17 17:01 edvanmc

Also having this issue with a Moto G, Android 5.1

27leaves avatar Jan 20 '17 15:01 27leaves

check the issue #127

felulo avatar Feb 15 '17 16:02 felulo

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 avatar Aug 14 '17 14:08 mathportillo

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

fredlemieux avatar Feb 08 '18 12:02 fredlemieux