Skip to content

Commit 633d4e6

Browse files
author
romille
committed
fixes cutoff for bottom option when selecting with keyboard
1 parent dc6b987 commit 633d4e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ the specific language governing permissions and limitations under the Apache Lic
15321532
}
15331533
}
15341534

1535-
rb = results.offset().top + results.outerHeight(true);
1535+
rb = results.offset().top + results.outerHeight(false);
15361536
if (hb > rb) {
15371537
results.scrollTop(results.scrollTop() + (hb - rb));
15381538
}

0 commit comments

Comments
 (0)