Pārlūkot izejas kodu

Merge pull request #1095 from nolamesa/patch-1

Fix for random scrolling when using hierarchical data
Igor Vaynberg 12 gadi atpakaļ
vecāks
revīzija
2f69290e2d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1203,7 +1203,7 @@ the specific language governing permissions and limitations under the Apache Lic
                 return;
             }
 
-            children = this.findHighlightableChoices();
+            children = this.findHighlightableChoices().find('.select2-result-label');
 
             child = $(children[index]);