Browse Source

Pull request #3248: KERNEL-11877 feat: container支持函数, 修复错误

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '33ddf6e82e672a604deb90cef732d6ccd76f445f':
  KERNEL-11877 feat: container支持函数, 修复错误
es6
Dailer-刘荣歆 2 years ago
parent
commit
b3e635fbb0
  1. 2
      src/base/combination/combo.js

2
src/base/combination/combo.js

@ -219,7 +219,7 @@
}, },
}, },
} : this.combo; } : 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) { switch (o.direction) {
case "bottom": case "bottom":
case "bottom,right": case "bottom,right":

Loading…
Cancel
Save