Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problems when writing in android #58

Open
jhonylucas74 opened this issue Aug 21, 2015 · 11 comments
Open

Problems when writing in android #58

jhonylucas74 opened this issue Aug 21, 2015 · 11 comments

Comments

@jhonylucas74
Copy link

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.

@brunomrpx
Copy link

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

@vko-online
Copy link

Any workaround?

@devolkpl
Copy link

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
Copy link

devolkpl commented Jan 10, 2017

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

@anderson631
Copy link

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

@chiragandroid
Copy link

chiragandroid commented Jan 17, 2017

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)

@edvanmc
Copy link

edvanmc commented Jan 18, 2017

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

@27leaves
Copy link

Also having this issue with a Moto G, Android 5.1

@felulo
Copy link

felulo commented Feb 15, 2017

check the issue #127

weberamaral added a commit to weberamaral/ngMask that referenced this issue Mar 18, 2017
In all browsers in android devices the keyboard cursor is in the wrong position in fields that have
a mask

closes candreoliveira#32 candreoliveira#58 candreoliveira#127
@mathportillo
Copy link

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": "git@github.com:candreoliveira/ngMask.git#a73544ca3a3a2b35558d25ad331235ff65c2fcb2",

@fredlemieux
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests