Browse Source

Pull request #3273: BI-119055 fix: needadaptive的下拉计算NaN

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit 'a3b0412925921055ce07e0f8ac3bf732663bb898':
  BI-119055 fix: needadaptive的下拉计算NaN
research/test
imp-张健 2 years ago
parent
commit
d1d74bbf46
  1. 2
      src/core/platform/web/dom.js

2
src/core/platform/web/dom.js

@ -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);

Loading…
Cancel
Save