|
|
|
@ -413,7 +413,7 @@
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getBottomAdaptPosition: function (combo, popup, extraHeight, needAdaptHeight) { |
|
|
|
|
var comboBounds = combo.element.bounds(), popupBounds = popup.element.bounds(), |
|
|
|
|
var comboBounds = combo.element[0].getBoundingClientRect(), popupBounds = popup.element[0].getBoundingClientRect(), |
|
|
|
|
windowBounds = BI.Widget._renderEngine.createElement("body").bounds(); |
|
|
|
|
if (BI.DOM.isBottomSpaceEnough(combo, popup, extraHeight)) { |
|
|
|
|
return BI.DOM.getBottomPosition(combo, popup, extraHeight); |
|
|
|
|