Permalink
Browse files

Selectmenu: prevent horizontal scrollbar on ui-content if only one cu…

…stom select on the page. Fixes regression from commit 67e6fbc.
  • Loading branch information...
1 parent 9f7cbfc commit 6103ba81e0416caa66b9e5611aab8f056e63504f @jaspermdegroot jaspermdegroot committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 css/structure/jquery.mobile.forms.select.css
@@ -1,5 +1,5 @@
.ui-select { display: block; position: relative; }
-.ui-select select { position: absolute; left: -9999px; }
+.ui-select select { position: absolute; left: -9999px; top: -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. */

1 comment on commit 6103ba8

@jaspermdegroot
Member

Oops... I meant vertical scrollbar

Please sign in to comment.