From 633d4e6b4be30ec78bc37cc05190527635081d1f Mon Sep 17 00:00:00 2001 From: romille Date: Thu, 11 Sep 2014 17:45:59 -0400 Subject: [PATCH] fixes cutoff for bottom option when selecting with keyboard --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index efca8d82..64c6f007 100644 --- a/select2.js +++ b/select2.js @@ -1532,7 +1532,7 @@ the specific language governing permissions and limitations under the Apache Lic } } - rb = results.offset().top + results.outerHeight(true); + rb = results.offset().top + results.outerHeight(false); if (hb > rb) { results.scrollTop(results.scrollTop() + (hb - rb)); }