Permalink
Browse files

Selectmenu: added zIndex for positioned element

  • Loading branch information...
1 parent 4d56732 commit 68a369911a030ad010f71fbe96845d50a146b960 @fnagel fnagel committed Sep 27, 2011
Showing with 7 additions and 5 deletions.
  1. +7 −5 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 );
}
},

0 comments on commit 68a3699

Please sign in to comment.