Permalink
Browse files

Selectmenu: proposed fix for menu delay issue

  • Loading branch information...
1 parent 7725e4a commit a9a6e3beaf72a06e922ebd0f8eec16607467a1e7 @fnagel fnagel committed Nov 10, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.selectmenu.js
@@ -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" );
},

0 comments on commit a9a6e3b

Please sign in to comment.