From 33ddf6e82e672a604deb90cef732d6ccd76f445f Mon Sep 17 00:00:00 2001 From: zsmj Date: Thu, 8 Dec 2022 18:05:26 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-11877=20feat:=20container=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=87=BD=E6=95=B0,=20=E4=BF=AE=E5=A4=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/combo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index 02f838877..114e4a52e 100644 --- a/src/base/combination/combo.js +++ b/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":