Small bug regarding tab key listener

Lev Kanter's Avatar

Lev Kanter

16 Aug, 2010 04:25 PM

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

  1. 1 Posted by Jeff May on 14 Sep, 2011 07:46 PM

    Jeff May's Avatar

    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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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