We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6f1e9d commit 8cc74e5Copy full SHA for 8cc74e5
ui/jquery.ui.selectmenu.js
@@ -261,7 +261,12 @@ $.widget("ui.selectmenu", {
261
return true;
262
})
263
// this allows for using the scrollbar in an overflowed list
264
- .bind( 'mousedown.selectmenu mouseup.selectmenu', function() { return false; });
+ .bind( 'mousedown.selectmenu mouseup.selectmenu', function(e) {
265
+ // supports custom scroll bar and other plugins which wrap the selectmenu content
266
+ if (e.target.hasAttribute('href') && e.target.hash==='#nogo') {
267
+ return false;
268
+ }
269
+ });
270
271
// needed when window is resized
272
$( window ).bind( "resize.selectmenu-" + this.ids[ 0 ], $.proxy( self.close, this ) );
0 commit comments