Mottie / Keyboard

Virtual Keyboard using jQuery ~

Home Page:http://mottie.github.io/Keyboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Physical Keyboard input duplicated by virtual keyboard

pilz97 opened this issue · comments

I am using the virtual keyboard in my angular application.
The users are able to use an physical keyboard or the virtual keyboard.

In some cases I use the virtual keyboard with alwaysOpen = true, and there i have an issue.
When I make the input via the virtual keyboard everything works fine, but when i type for example "1" with the pysical keyboard, i get to input events "1" and then again "1", so then my value in the input elment is "11" instead just "1".

Now i figgured out in the playground, that the alwaysOpen-Mode works fine since you have initialFocus = true.
When you make alwaysOpen = true and initialFocus = false, (and typing with physical keyboard instead virtual one) than you get the issue with the duplicated inputs.