Explorar el Código

change how offscreen css is defined. finxes #1011

Igor Vaynberg hace 12 años
padre
commit
fb158ed0c8
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      select2.css

+ 7 - 1
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 */