Fix scroll caused by dropdown
This commit is contained in:
parent
a6b11ab48b
commit
b7f4731051
3
src/js/select2/dropdown/attachBody.js
vendored
3
src/js/select2/dropdown/attachBody.js
vendored
@ -47,7 +47,8 @@ define([
|
|||||||
$dropdown.addClass('select2-container--open');
|
$dropdown.addClass('select2-container--open');
|
||||||
|
|
||||||
$dropdown.css({
|
$dropdown.css({
|
||||||
position: 'absolute'
|
position: 'absolute',
|
||||||
|
top: -999999
|
||||||
});
|
});
|
||||||
|
|
||||||
$dropdown.width($container.outerWidth(false));
|
$dropdown.width($container.outerWidth(false));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user