Open gurkanuzunca opened 6 years ago
I second this, observed the same in Firefox mobile (61.0). Is there a known fix by any chance?
Just found out that this issue arises on Samsung phones with Smart Typing enabled on the default Samsung keyboard. This leads to onKeyDown
events not being fired and a user-supplied onInput
handler being fired twice, thus leading to text accumulation in the field.
Yea, I think it's the Smart Typing thing causing the weird behaviour.
Problem occurs on various devices, e.g. Samsung Galaxy S8 with Android 8+.
The bug comes from this code potentially:
// fix Android browser type="text" input field // cursor not jumping issue if (owner.isAndroid) { window.setTimeout(function () { owner.element.value = newValue; Util.setSelection(owner.element, endPos, pps.document, false); owner.callOnValueChanged(); }, 1); return; }
i use like this, but when i type a number,it add previous block in chrome mobile browser.
+90 543 6 result; press 5: +90 5 press 4: +90 554 press 3: +90 554 543 press 6: +90 554 543 5436