Browse Source

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

* commit 'b53dcfc993a5e3d728dcd4fc0dfc70fa380291bf':
  REPORT-88040 fix: 【BI6.0】【用户管理-机构部门】机构部门选择部门后编辑用户,点击全选显示异常
research/test
Aeolus.Zhang-张敬峥 2 years ago
parent
commit
66d39c7012
  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