We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1abf9fc commit ddc666cCopy full SHA for ddc666c
ui/menu.js
@@ -101,6 +101,12 @@ return $.widget( "ui.menu", {
101
}
102
},
103
"mouseenter .ui-menu-item": function( event ) {
104
+ // Ignore mouse events while typeahead is active, see #10458.
105
+ // Prevents focusing the wrong item when typeahead causes a scroll while the mouse
106
+ // is over an item in the menu
107
+ if ( this.previousFilter ) {
108
+ return;
109
+ }
110
var target = $( event.currentTarget );
111
// Remove ui-state-active class from siblings of the newly focused menu item
112
// to avoid a jump caused by adjacent elements both having a class with a border
0 commit comments