Mottie / Keyboard

Virtual Keyboard using jQuery ~

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Navigation: Enter-Key does not submit highlighted key

iischwuerfl opened this issue · comments

We are experiencing the following behaviour:

While using the navigation extension with toggle-mode activated, the enter-key does not submit a key.

If the mouse is not hovering over a key, the enter-event does not submit a key at all - even if there is a highlighted key. The following error is printed:

Uncaught TypeError: last.wheel_$Keys.eq is not a function at HTMLButtonElement.<anonymous> (jquery.keyboard.js:1128) at HTMLButtonElement.callback (jquery.keyboard.js:1032) at HTMLDivElement.dispatch (jquery-latest.min.js:2) at HTMLDivElement.y.handle (jquery-latest.min.js:2) at Object.trigger (jquery-latest.min.js:2) at HTMLButtonElement.<anonymous> (jquery-latest.min.js:2) at Function.each (jquery-latest.min.js:2) at w.fn.init.each (jquery-latest.min.js:2) at w.fn.init.trigger (jquery-latest.min.js:2) at $.keyboard.base.checkKeys (jquery.keyboard.extension-navigation.js:125)

Reproducable using the official demo version of the navigation extension.

It works when setting the useWheel option to false, but then the navigation between the two keyboard lines does not work anymore correctly. Pressing arrow up does not jump to the key directly above.

Hi @iischwuerfl!

Thanks for reporting this problem. It'll be fixed in the latest update!