From 5c709bac1547ac8123cf2d2f5d52a81eeb0d73f3 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 6 May 2013 15:23:23 -0700 Subject: [PATCH] improve offscreen element positioning. fixes #1217. fixes #1218. fixes #1074 --- select2.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/select2.css b/select2.css index b13f36d8..eff6fa30 100644 --- a/select2.css +++ b/select2.css @@ -616,13 +616,14 @@ disabled look for disabled choices in the results dropdown .select2-offscreen { border: 0; clip: rect(0 0 0 0); - height: 1px; - margin: -1px; + height: 0; + margin: 0; overflow: hidden; padding: 0; position: absolute; - width: 1px; - left: 0; + width: 0; + display:block; + left: -10000px; } .select2-display-none {