We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e031f commit ffddc48Copy full SHA for ffddc48
1 file changed
select2.js
@@ -1248,6 +1248,7 @@ the specific language governing permissions and limitations under the Apache Lic
1248
// Add scrollbar width to dropdown if vertical scrollbar is present
1249
dropWidth = $dropdown.outerWidth(false) + (resultsListNode.scrollHeight === resultsListNode.clientHeight ? 0 : scrollBarDimensions.width);
1250
dropWidth > width ? width = dropWidth : dropWidth = width;
1251
+ dropHeight = $dropdown.outerHeight(false);
1252
enoughRoomOnRight = dropLeft + dropWidth <= viewPortRight;
1253
}
1254
else {
0 commit comments