nosir / cleave.js

Format input text content when you are typing...
http://nosir.github.io/cleave.js
Apache License 2.0
17.95k stars 1.62k forks source link

Samsung Android Chrome: Problems with number input #195

Open IRuslan opened 7 years ago

IRuslan commented 7 years ago

Hi,

there is a weird behavior on Android Chrome browser (v58): wrong chars appear within an input.

Reproduced even on the demo site. See video for details - https://youtu.be/-Pinry1Sko0

nosir commented 7 years ago

Hi @IRuslan Seems I can't reproduce it on my nexus5, which device you are using?

IRuslan commented 7 years ago

Samsung Galaxy S4 and Samsung Galaxy Note 2. While on ZTE Blade it's ok. I guess it's related to Samsung devices only (I saw similar problems related to Samsung devices only).

nosir commented 7 years ago

Hmm ok, thanks for the testing, will find some Samsung device to debug.

dignityinside commented 7 years ago

The same problem, when enable "auto correct" (default enabled in android)

nimmortal commented 6 years ago

This issue is due to Samsung keyboard with predictive text option enabled. Question on SO: https://stackoverflow.com/questions/32968624/prevent-samsung-predictive-text-in-html-form

fedevegili commented 6 years ago

Also happens on samsung s8 and samsung j5. When I disable predictive text everything works.

fedevegili commented 6 years ago

type="tel" on numeric inputs solved the issue for me

braheem commented 5 years ago

any update on this issue? Has anyone found a reliable workaround? type="tel" can't work for me because mobile browsers show a different keyboard. From the SO link it looks like there is no reliable way to disable predictive text, so i'm at a loss on what to do here.

zackabrah commented 5 years ago

Can confirm issue on galaxy s8

ghost commented 5 years ago

Just something I have noticed, it only occurs with the Samsung keyboard. If I use swiftkey for example, on a Samsung phone, this issue does not occur.

The type="tel" fix does seem to work but only if you can deal with the different keyboard on mobile.