From b96ee3fc88fc2fa45585bda62136146254601a2d Mon Sep 17 00:00:00 2001 From: gladmon Date: Wed, 19 Sep 2012 18:27:18 -0300 Subject: [PATCH] Fix z-index on input text box for single selects. Using the select2 control in a jquery dialog works fine except for you cannot click on the input box when doing a single select select box. The containing div was given a z-index, but not a position attribute, so the z-index was ignored. --- select2.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/select2.css b/select2.css index c8752c20..4cb176bb 100644 --- a/select2.css +++ b/select2.css @@ -165,8 +165,9 @@ Version: @@ver@@ Timestamp: @@timestamp@@ .select2-search { display: inline-block; - white-space: nowrap; - z-index: 10000; + white-space: nowrap; + z-index: 10000; + position: relative; min-height: 26px; width: 100%; margin: 0;