1
0
mirror of synced 2025-02-16 20:13:16 +03:00

Fixed Select2 jumping around in Chrome

This fixes #2769, where Select2 will jump around because of how
focus moves to the original element when selections are made.

Because absolute positioning pushed the original element out of the
viewport, bringing it back into the viewport should be the best
fix.
This commit is contained in:
Kevin Brown 2014-10-31 18:10:13 -04:00
parent 0ed9e0283d
commit 0daee34626

View File

@ -667,7 +667,7 @@ html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
position: static !important;
outline: 0 !important;
left: 0px !important;
top: 0px !important;