Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 6103ba8

Browse files
Selectmenu: prevent horizontal scrollbar on ui-content if only one custom select on the page. Fixes regression from commit 67e6fbc.
1 parent 9f7cbfc commit 6103ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/structure/jquery.mobile.forms.select.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.ui-select { display: block; position: relative; }
2-
.ui-select select { position: absolute; left: -9999px; }
2+
.ui-select select { position: absolute; left: -9999px; top: -9999px; }
33
.ui-select .ui-btn { opacity: 1; }
44
.ui-field-contain .ui-select .ui-btn { margin: 0; }
55
/* 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. */

0 commit comments

Comments
 (0)