We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 258a85b commit 3ed9186Copy full SHA for 3ed9186
1 file changed
select2.js
@@ -883,9 +883,9 @@ the specific language governing permissions and limitations under the Apache Lic
883
// abstract
884
positionDropdown: function() {
885
var offset = this.container.offset(),
886
- height = this.container.outerHeight(true),
887
- width = this.container.outerWidth(true),
888
- dropHeight = this.dropdown.outerHeight(true),
+ height = this.container.outerHeight(false),
+ width = this.container.outerWidth(false),
+ dropHeight = this.dropdown.outerHeight(false),
889
viewportBottom = $(window).scrollTop() + document.documentElement.clientHeight,
890
dropTop = offset.top + height,
891
dropLeft = offset.left,
0 commit comments