Browse Source

Merge pull request #216132 in DEC/fineui from release/11.0 to feature/x

* commit 'b53dcfc993a5e3d728dcd4fc0dfc70fa380291bf':
  REPORT-88040 fix: 【BI6.0】【用户管理-机构部门】机构部门选择部门后编辑用户,点击全选显示异常
master
superman 2 years ago
parent
commit
2d521b0b2c
  1. 2
      src/core/platform/web/dom.js

2
src/core/platform/web/dom.js

@ -448,7 +448,7 @@
viewportBounds = document.documentElement.getBoundingClientRect();
var left;
if (comboRect.left + comboRect.width / 2 + popupRect.width / 2 > viewportBounds.width) {
left = viewportBounds.width - comboRect.width - positionRelativeElementRect.left;
left = viewportBounds.width - popupRect.width - positionRelativeElementRect.left;
} else {
left = comboRect.left + (comboRect.width - popupRect.width) / 2 - positionRelativeElementRect.left;
}

Loading…
Cancel
Save