inputmask-multi icon indicating copy to clipboard operation
inputmask-multi copied to clipboard

problem with android (Including demo) - recognize country after backspace

Open vladjap opened this issue 6 years ago • 1 comments

Hello,

I have issue with this on android devices (only when using android keyboard). When typing on android keyboard (e.g. 38160) it should recognize Serbian number and mask should be adapted for Serbian region. But it doesn't. It look like this: screen shot 2019-01-14 at 10 32 32 am and if i delete last number using backspace it turns out to be right: screen shot 2019-01-14 at 10 35 28 am

I am using Samsung Galaxy S9, but problem is present on other android devices I tried too.

Also, When I connect android device to my mac book with USB, and debug android chrome remotely, problem occurs only when using android keyboard, when typing on mac book, everything works fine.

Can you advice how to fix this?

vladjap avatar Jan 14 '19 09:01 vladjap

This problem is connected with events, generated by tapping keyboard. On the Android as I saw there is no event keypress, only keydown, but on others devices both of them keypress & keydown are present.
See about it HERE->

Bpaxio avatar Aug 11 '20 14:08 Bpaxio