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.
2 parents 86dfdb8 + 42391d7 commit cf6eff7Copy full SHA for cf6eff7
ui/jquery.ui.selectmenu.js
@@ -446,9 +446,10 @@ $.widget("ui.selectmenu", {
446
this._selectedOptionLi().addClass(this.widgetBaseClass + '-item-focus');
447
448
// needed when selectmenu is placed at the very bottom / top of the page
449
- window.setTimeout( function() {
+ clearTimeout(this.refreshTimeout);
450
+ this.refreshTimeout = window.setTimeout(function () {
451
self._refreshPosition();
- }, 200 );
452
+ }, 200);
453
},
454
455
destroy: function() {
0 commit comments