From b4eef42e183eb8407c9d5131f1338b452c1a853f Mon Sep 17 00:00:00 2001 From: Mat Marquis Date: Wed, 16 Nov 2011 15:23:30 -0500 Subject: [PATCH] =?UTF-8?q?Fixes=20#3026=20=E2=80=94=20Regression=20introd?= =?UTF-8?q?uced=20by=2001c77fa.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/structure/jquery.mobile.forms.select.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/structure/jquery.mobile.forms.select.css b/css/structure/jquery.mobile.forms.select.css index 73ea2aa7..b831c76c 100644 --- a/css/structure/jquery.mobile.forms.select.css +++ b/css/structure/jquery.mobile.forms.select.css @@ -4,9 +4,11 @@ .ui-select .ui-btn { opacity: 1; } + /* 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: button; left: 0; top:0; width: 100%; min-height: 1.5em; min-height: 100%; height: 3em; max-height: 100%; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); z-index: 2; } +.ui-select .ui-disabled { opacity: .3; } @-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }} .ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; }