Browse Source

Merge pull request #216131 in DEC/fineui from final/11.0 to release/11.0

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