소스 검색

prevent scrolling when dropdown is opened. fixes #1540

Igor Vaynberg 11 년 전
부모
커밋
59df6b4c9a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      select2.js

+ 1 - 0
select2.js

@@ -1281,6 +1281,7 @@ the specific language governing permissions and limitations under the Apache Lic
             // show the elements
             mask.show();
 
+            this.positionDropdown();
             this.dropdown.show();
             this.positionDropdown();