Skip to content

Commit

Permalink
Fixes jquery-archive#5140 - Select menus inside elements in Android 4…
Browse files Browse the repository at this point in the history
….1 Chrome now work after scrolling.
  • Loading branch information
Wilto committed Oct 16, 2012
1 parent ed4efa3 commit 67e6fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/structure/jquery.mobile.forms.select.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.ui-select { display: block; position: relative; }
.ui-select select { position: absolute; left: -9999px; top: -9999px; }
.ui-select .ui-btn { overflow: hidden; opacity: 1; }
.ui-select select { position: absolute; left: -9999px; }
.ui-select .ui-btn { opacity: 1; }
.ui-field-contain .ui-select .ui-btn { margin: 0; }
/* Fixes #2588: When Windows Phone 7.5 (Mango) tries to calculate a numeric opacity for a select (including "inherit") without explicitly specifying an opacity on the parent to give it context, a bug appears where clicking elsewhere on the page after opening the select will open the select again. */
.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: none; left: 0; top:0; width: 100%; min-height: 1.5em; min-height: 100%; height: 3em; max-height: 100%; filter: Alpha(Opacity=0); opacity: 0; z-index: 2; }
Expand Down

0 comments on commit 67e6fbc

Please sign in to comment.