javascript - jQuery Virtual Keyboard plugin inserts the same character twice on Windows 8 touch devices -


i'm using virtual keyboard jquery got here (https://github.com/mottie/keyboard/), works fine except on touch screen tablet running firefox + windows 8 when tap on key inputs character twice, reported on github project page under issues developer not responded yet , i'm not able find root of evil, kind of appreciated! thanks

i faced similar problem in qt5. double input may due system synthesizing mouse event primary touch point, resulting in 2 mouse events instead of one. 1 solution replace 'mousedown' keybinding touchstart follows

$(input).keyboard({  keybinding   : 'touchstart', 

alternatively write system hook filter out mouseeventf_fromtouch events.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -