From a59f0f68c3e594be91cb9d19e7a7c45a41482f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dailer-=E5=88=98=E8=8D=A3=E6=AD=86?= Date: Mon, 29 May 2023 16:08:18 +0800 Subject: [PATCH] =?UTF-8?q?BI-127107=20fix:=20=E3=80=90=E6=9D=A5=E6=BA=90P?= =?UTF-8?q?T=E9=A1=B9=E7=9B=AE=E3=80=91bi6.0.7=EF=BC=8Cie11=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=99=A8=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/platform/web/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/platform/web/dom.js b/src/core/platform/web/dom.js index f7086bbc7..a74f1ff10 100644 --- a/src/core/platform/web/dom.js +++ b/src/core/platform/web/dom.js @@ -720,7 +720,7 @@ * 获取position:fixed相对定位的元素 */ getPositionRelativeContainingBlock: function (element) { - if (['html', 'body', '#document'].indexOf((element.nodeName || '').toLowerCase()) >= 0) { + if (BI.isIE() || ['html', 'body', '#document'].indexOf((element.nodeName || '').toLowerCase()) >= 0) { // $FlowFixMe[incompatible-return]: assume body is always available return element.ownerDocument.body; }