-
Notifications
You must be signed in to change notification settings - Fork 170
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
Doesn't work properly on Mobile Android Chrome Browser #127
Comments
To solve the problem, in the line 142 add the commented code below:
|
+1 Thanks. It's solved for me if i add this line in Js file |
I use this mask with chararacter '-' too, and this fix don't work in this case. Example = 'ABCDEFGH-EFG-HIJ' An idea ? |
Boa tarde! |
@vinicius-martins @edvanmc english! |
Sorry! any idea about when this solution found by edvanmc will be included on a release? |
Please, do a pull request for this! @edvanmc |
I tried do this, in phone mask it is normal, but in CPF mask 999.999.999-99 if i try to write numbers 123.456.789-10 the sequence stays 123.567.910-84 |
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
Correction according to: candreoliveira#127 (comment)
This worked for me: |
@leuterio did you try with 999.999.999-99 mask? I tried here and had same problem ;( |
solution @edvanmc work for me...
|
Hy dudes, I have a CPF field on my project, and it works fine. Bellow my HTML element: It's not clear to me if the issue was fixed on #136. Someone tested @weberamaral 's solution ? I will send a pull request. |
@edvanmc the pull request has not merged yet. |
@AndreVicenteW Yeah, I tried it but does'nt worked for me too. NOTE: This worked only on Android 6 or later. |
While #136 is not merged, a quick fix is to install the dependency directly from that commit. The following should work on both npm and bower:
|
Thanks @mathportillo, your solution seems to work when testing in the emulator on Nexus 6P but not when I tested on two devices (Samsung S7 and Huawei honor 9), I've also tried the amended input tag @leuterio suggested. Has anyone got any other solution to this? |
After further investigation, it seems to be line 36: |
+1 |
On Mobile Android Google Chrome browser when inputting a date value like 09/09/1979 within the mask "39/19/9999", the caret misbehave corrupting the inserted value.
It occurs with other masks too.
The text was updated successfully, but these errors were encountered: