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 be0be89 commit 5eb1aeeCopy full SHA for 5eb1aee
ui/jquery.ui.menu.js
@@ -77,12 +77,10 @@ $.widget( "ui.menu", {
77
mouseHandled = true;
78
79
this.select( event );
80
- // Redirect focus to the menu with a delay for firefox
81
- this._delay(function() {
82
- if ( !this.element.is(":focus") ) {
83
- this.element.focus();
84
- }
85
- }, 20 );
+ // Redirect focus to the menu
+ if ( !this.element.is(":focus") ) {
+ this.element.focus();
+ }
86
}
87
},
88
"mouseenter .ui-menu-item": function( event ) {
@@ -488,7 +486,7 @@ $.widget( "ui.menu", {
488
486
// Delay so Firefox will not hide activedescendant change in expanding submenu from AT
489
487
this._delay(function() {
490
this.focus( event, newItem );
491
+ });
492
493
494
0 commit comments