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 90684f9 commit 86dfdb8Copy full SHA for 86dfdb8
ui/jquery.ui.selectmenu.js
@@ -17,6 +17,7 @@ $.widget("ui.selectmenu", {
17
eventPrefix: "selectmenu",
18
options: {
19
transferClasses: true,
20
+ appendTo: "body",
21
typeAhead: 1000,
22
style: 'dropdown',
23
positionOptions: {
@@ -203,7 +204,7 @@ $.widget("ui.selectmenu", {
203
204
});
205
this.listWrap = $( "<div />", {
206
'class': self.widgetBaseClass + '-menu'
- }).append( this.list ).appendTo( 'body' );
207
+ }).append( this.list ).appendTo( o.appendTo );
208
209
// transfer menu click to menu button
210
this.list
0 commit comments