Escape Key Support #1

Closed
X4 opened this Issue Mar 6, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@X4

X4 commented Mar 6, 2011

I think supporting the loosing of the list-focus through a hit of a button would be nice to have.

@stryju

This comment has been minimized.

Show comment
Hide comment
@stryju

stryju Mar 18, 2011

quick fix for that is to add esc key support in this.each loop:

add this around line 429:

        else if (ev.keyCode == '27'){
                    $(options.context).trigger('itemSelect');
                    return false;
        }

keep in mind this will trigger itemSelect event!

stryju commented Mar 18, 2011

quick fix for that is to add esc key support in this.each loop:

add this around line 429:

        else if (ev.keyCode == '27'){
                    $(options.context).trigger('itemSelect');
                    return false;
        }

keep in mind this will trigger itemSelect event!

@X4 X4 closed this Jan 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment