From b7f47310519230ad36d2305fec915761e6e2607e Mon Sep 17 00:00:00 2001 From: lazything Date: Sat, 10 Jan 2015 16:24:32 +0200 Subject: [PATCH] Fix scroll caused by dropdown --- src/js/select2/dropdown/attachBody.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/select2/dropdown/attachBody.js b/src/js/select2/dropdown/attachBody.js index 97754b33..3f22b145 100644 --- a/src/js/select2/dropdown/attachBody.js +++ b/src/js/select2/dropdown/attachBody.js @@ -47,7 +47,8 @@ define([ $dropdown.addClass('select2-container--open'); $dropdown.css({ - position: 'absolute' + position: 'absolute', + top: -999999 }); $dropdown.width($container.outerWidth(false));