jQuery-Mask-Plugin
jQuery-Mask-Plugin copied to clipboard
Repeated digits in Galaxy S7 Edge (Samsung Internet Browser)
Device
Samsung Galaxy S7 Edge with Android 7.0
Browser (and version)?
Samsung Internet Browser - Version 6.2.01.12
Functional jsfiddle exemplifying your problem:
It's just a simple input with the latest CDN version (1.14.13) https://jsfiddle.net/vygb834j/
Describe the problem depth:
After typing in three or more digits, they get repeated in the rest of the mask. For instance if I type: 123 the input's value becomes: 123.123
So far I've had this problem with Samsung Internet only, it works fine on Chrome.
Thanks in advance for your time and attention.
I've been encountering this bug as well in Samsung Internet and in Chrome, although I cannot reproduce it in Chrome with your jsfiddle. HOWEVER the bug only occurs when using the default Samsung Keyboard. Tried with GBoard and Swiftkey and did not encounter the bug in any browser.
Adding autocomplete="off" to the input fixes this issue
https://jsfiddle.net/vygb834j/12/
@formaldehydeson that is really weird that you had to do that because this line: https://github.com/igorescobar/jQuery-Mask-Plugin/blob/master/src/jquery.mask.js#L438
Already does that o.O
Is it possible that it's not getting applied in some cases?
https://jsfiddle.net/vvyyypw5/1/
@formaldehydeson maybe in your case it isn't? xP
Can you help me to debug that? If you identify why this line isn't working for you would be great!
Even in that JSFiddle I linked it doesn't look like it's being applied. And yeah haha let me look around and see if I can see what's causing it in my case, would like to help get this fixed as I'm a big fan of this plugin.
@formaldehydeson news?
Autonumeric project has the same problem!
I found the reason! It's because of samsung keyboard predictive text feature! turn it off, everything going as well! ;)
I experienced this exact same issue on iOS Safari with the Japanese keyboard. Turning off predictive text did not help.
I have the same issue on iOS Safari with a Japanese keyboard.