Small bug regarding tab key listener
Dear Drew,
I have been using your plugin, which is really awesome!
I found what I believe is a small bug in the keydown event listener for the input.
In the keyCode switch, after line 195, there is no "break" statement (following the tab/comma listener). This causes a tab or comma press to fall through.
best,
Lev
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Jeff May on 14 Sep, 2011 07:46 PM
I believe this is actually a big bug (as far as the user is concerned). It also probably the cause of https://drew.tenderapp.com/discussions/autosuggest/129-tab-and-comm....
I found that adding a break statement on that line will allow users to tab through the fields (forwards and backwards) as well as fix the bug mentioned above.