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 da4e238 commit e217c40Copy full SHA for e217c40
ui/jquery.ui.selectmenu.js
@@ -192,12 +192,16 @@ $.widget( "ui.selectmenu", {
192
193
this.isOpen = true;
194
this._toggleAttr();
195
- this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );
+ this._position();
196
197
this._on( this.document, this._documentClick );
198
199
this._trigger( "open", event );
200
},
201
+
202
+ _position: function() {
203
+ this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );
204
+ },
205
206
close: function( event ) {
207
if ( !this.isOpen ) {
0 commit comments