1
0
mirror of synced 2025-02-21 14:33:15 +03:00

Fix scroll caused by dropdown

This commit is contained in:
lazything 2015-01-10 16:24:32 +02:00
parent a6b11ab48b
commit b7f4731051

View File

@ -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));