Browse Source

Pull request #215980: REPORT-88040 fix: 【BI6.0】【用户管理-机构部门】机构部门选择部门后编辑用户,点击全选显示异常

Merge in DEC/fineui from ~DAILER/fineui-decision:final/11.0 to final/11.0

* commit 'd610d82b01553ea107e57b9a9af5a5a02c037a88':
  REPORT-88040 fix: 【BI6.0】【用户管理-机构部门】机构部门选择部门后编辑用户,点击全选显示异常
master
Dailer-刘荣歆 2 years ago
parent
commit
25b806c344
  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