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
- project page: http://mottie.github.io/keyboard/
- github: https://github.com/mottie/keyboard/
- reported issue: https://github.com/mottie/keyboard/issues/184/
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
Post a Comment