Browse Source

Pull request #238993: BI-127107 fix: 【来源PT项目】bi6.0.7,ie11浏览器过滤组件无法使用

Merge in DEC/fineui from ~DAILER/fineui-decision:release/11.0 to release/11.0

* commit 'a59f0f68c3e594be91cb9d19e7a7c45a41482f05':
  BI-127107 fix: 【来源PT项目】bi6.0.7,ie11浏览器过滤组件无法使用
research/test
Dailer-刘荣歆 1 year ago
parent
commit
dbba7f817b
  1. 2
      src/core/platform/web/dom.js

2
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;
}

Loading…
Cancel
Save