Преглед на файлове

Merge pull request #2912 from summeragain/scroll-fix

Fixes #2908: Dropdown cause scrollbar
Kevin Brown преди 10 години
родител
ревизия
6a5127ac0f
променени са 7 файла, в които са добавени 10 реда и са изтрити 5 реда
  1. 2 1
      dist/js/select2.amd.full.js
  2. 2 1
      dist/js/select2.amd.js
  3. 2 1
      dist/js/select2.full.js
  4. 0 0
      dist/js/select2.full.min.js
  5. 2 1
      dist/js/select2.js
  6. 0 0
      dist/js/select2.min.js
  7. 2 1
      src/js/select2/dropdown/attachBody.js

+ 2 - 1
dist/js/select2.amd.full.js

@@ -3176,7 +3176,8 @@ define('select2/dropdown/attachBody',[
     $dropdown.addClass('select2-container--open');
 
     $dropdown.css({
-      position: 'absolute'
+      position: 'absolute',
+      top: -999999
     });
 
     $dropdown.width($container.outerWidth(false));

+ 2 - 1
dist/js/select2.amd.js

@@ -3176,7 +3176,8 @@ define('select2/dropdown/attachBody',[
     $dropdown.addClass('select2-container--open');
 
     $dropdown.css({
-      position: 'absolute'
+      position: 'absolute',
+      top: -999999
     });
 
     $dropdown.width($container.outerWidth(false));

+ 2 - 1
dist/js/select2.full.js

@@ -12711,7 +12711,8 @@ define('select2/dropdown/attachBody',[
     $dropdown.addClass('select2-container--open');
 
     $dropdown.css({
-      position: 'absolute'
+      position: 'absolute',
+      top: -999999
     });
 
     $dropdown.width($container.outerWidth(false));

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/js/select2.full.min.js


+ 2 - 1
dist/js/select2.js

@@ -3604,7 +3604,8 @@ define('select2/dropdown/attachBody',[
     $dropdown.addClass('select2-container--open');
 
     $dropdown.css({
-      position: 'absolute'
+      position: 'absolute',
+      top: -999999
     });
 
     $dropdown.width($container.outerWidth(false));

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/js/select2.min.js


+ 2 - 1
src/js/select2/dropdown/attachBody.js

@@ -47,7 +47,8 @@ define([
     $dropdown.addClass('select2-container--open');
 
     $dropdown.css({
-      position: 'absolute'
+      position: 'absolute',
+      top: -999999
     });
 
     $dropdown.width($container.outerWidth(false));

Някои файлове не бяха показани, защото твърде много файлове са промени