Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Selectmenu: added zIndex for positioned element

  • Loading branch information...
commit 68a369911a030ad010f71fbe96845d50a146b960 1 parent 4d56732
@fnagel fnagel authored
Showing with 7 additions and 5 deletions.
  1. +7 −5 ui/jquery.ui.selectmenu.js
View
12 ui/jquery.ui.selectmenu.js
@@ -262,12 +262,14 @@ $.widget( "ui.selectmenu", {
offset: "0 " + _offset
});
}
-
- self.listWrap.position( $.extend({
- of: this.newelementWrap
- }, options.position ));
- this.opened = true;
+ self.listWrap
+ .zIndex( self.element.zIndex() + 1 )
+ .position( $.extend({
+ of: self.newelementWrap
+ }, options.position ));
+
+ self.opened = true;
self._trigger( "open", event );
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.