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 8a0b734 commit 42391d7Copy full SHA for 42391d7
ui/jquery.ui.selectmenu.js
@@ -441,9 +441,10 @@ $.widget("ui.selectmenu", {
441
this.index( this._selectedIndex() );
442
443
// needed when selectmenu is placed at the very bottom / top of the page
444
- window.setTimeout( function() {
+ clearTimeout(this.refreshTimeout);
445
+ this.refreshTimeout = window.setTimeout(function () {
446
self._refreshPosition();
- }, 200 );
447
+ }, 200);
448
},
449
450
destroy: function() {
0 commit comments