Skip to content

Loading…

Escape Key Support #1

Closed
X4 opened this Issue · 1 comment

2 participants

@X4
X4 commented

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

@stryju

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.