@kdcloudjs/table 1.2.1-canary.1 → 1.2.1-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.js +2 -3
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +2 -2
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/es/table/pipeline/features/contextMenu.js +1 -2
- package/lib/table/pipeline/features/contextMenu.js +1 -2
- package/package.json +1 -1
package/dist/@kdcloudjs/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/table v1.2.
|
|
3
|
+
* @kdcloudjs/table v1.2.1-canary.1
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -7111,8 +7111,7 @@ function keepWithinBounds(popupParent, ePopup, x, y) {
|
|
|
7111
7111
|
}
|
|
7112
7112
|
|
|
7113
7113
|
if (y) {
|
|
7114
|
-
var
|
|
7115
|
-
var maxY = parentHeight - minHeight;
|
|
7114
|
+
var maxY = parentHeight - ePopupRect.height;
|
|
7116
7115
|
y = Math.min(Math.max(y, 0), Math.abs(maxY)); // 目前位置,最大支持的位置
|
|
7117
7116
|
}
|
|
7118
7117
|
|