From fb158ed0c87bc0936d1fa43d88cf89cafa6bf845 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 11 Mar 2013 16:28:27 -0700 Subject: [PATCH] change how offscreen css is defined. finxes #1011 --- select2.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/select2.css b/select2.css index 4a650b47..8bcae4f6 100644 --- a/select2.css +++ b/select2.css @@ -589,8 +589,14 @@ disabled look for disabled choices in the results dropdown } .select2-offscreen { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; position: absolute; - left: -10000px; + width: 1px; } /* Retina-ize icons */