Sfoglia il codice sorgente

fixes cutoff for bottom option when selecting with keyboard

romille 10 anni fa
parent
commit
633d4e6b4b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1532,7 +1532,7 @@ the specific language governing permissions and limitations under the Apache Lic
                 }
             }
 
-            rb = results.offset().top + results.outerHeight(true);
+            rb = results.offset().top + results.outerHeight(false);
             if (hb > rb) {
                 results.scrollTop(results.scrollTop() + (hb - rb));
             }