Browse Source

Merge pull request #238997 in DEC/fineui from bugfix/11.0 to feature/x

* commit 'e2b04d0dbd47438a067264a611b78e4fdf82f714':
  BI-127107 fix: 【来源PT项目】bi6.0.7,ie11浏览器过滤组件无法使用
master
superman 2 years ago
parent
commit
2cf518a2ca
  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