Browse Source

KERNEL-11877 feat: container支持函数, 修复错误

es6
zsmj 2 years ago
parent
commit
33ddf6e82e
  1. 2
      src/base/combination/combo.js

2
src/base/combination/combo.js

@ -219,7 +219,7 @@
},
},
} : this.combo;
var positionRelativeElement = o.supportCSSTransform ? BI.DOM.getPositionRelativeContainingBlock(BI.Widget._renderEngine.createElement(BI.isFunction(o.container) ? o.container() : o.container)[0]) : null;
var positionRelativeElement = o.supportCSSTransform ? BI.DOM.getPositionRelativeContainingBlock(BI.isNull(o.container) ? this.element[0] : BI.Widget._renderEngine.createElement(BI.isFunction(o.container) ? o.container() : o.container)[0]) : null;
switch (o.direction) {
case "bottom":
case "bottom,right":

Loading…
Cancel
Save