Browse Source

Merge pull request #3567 in VISUAL/fineui from DEC/fineui:release/11.0 to master

* commit 'dbba7f817bca466566489950c4cd1eb54d78131c':
  BI-127107 fix: 【来源PT项目】bi6.0.7,ie11浏览器过滤组件无法使用
research/test
Aeolus.Zhang-张敬峥 1 year ago
parent
commit
8bf7e3198f
  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