mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: proposed fix for menu delay issue
This commit is contained in:
parent
7725e4adba
commit
a9a6e3beaf
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -166,6 +166,8 @@ $.widget( "ui.selectmenu", {
|
||||
this.menu.addClass( 'ui-corner-bottom' ).removeClass( 'ui-corner-all' );
|
||||
}
|
||||
|
||||
// make sure focus stays on selected item
|
||||
menuInstance.delay = 999999999;
|
||||
// unbind uneeded Menu events
|
||||
menuInstance._off( this.menu, "mouseleave" );
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user