We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9a0c0 commit 6e7ee98Copy full SHA for 6e7ee98
ui/jquery.ui.menu.js
@@ -229,7 +229,8 @@ $.widget( "ui.menu", {
229
this.active.nextAll( ".ui-menu-item" ) :
230
match;
231
232
- // TODO: document what's going on here, character is reset to the original value
+ // If no matches on the current filter, reset to the last character pressed
233
+ // to move down the menu to the first item that starts with that character
234
if ( !match.length ) {
235
character = String.fromCharCode( event.keyCode );
236
match = this.activeMenu.children( ".ui-menu-item" ).filter(function() {
0 commit comments