@easyquery/ui 7.3.5-rc04 → 7.4.0-rc01
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/easyquery.ui.cjs.js +0 -13
- package/dist/easyquery.ui.esm.js +0 -13
- package/package.json +2 -2
package/dist/easyquery.ui.cjs.js
CHANGED
|
@@ -1455,19 +1455,6 @@ class MenuLevel {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
this.scrollDiv.style.maxHeight = maxHeight + 'px';
|
|
1457
1457
|
levelStyle.top = this.adjustTopPos(y) + 'px';
|
|
1458
|
-
/*
|
|
1459
|
-
|
|
1460
|
-
const levelDivRect = this.levelDiv.getBoundingClientRect();
|
|
1461
|
-
const levelDivHeight = levelDivRect.height;
|
|
1462
|
-
|
|
1463
|
-
if (levelDivHeight > winSize.height - y - 20) {
|
|
1464
|
-
y = winSize.height - levelDivHeight - 20;
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
if (y < scrollY + 10) {
|
|
1468
|
-
y = scrollY + 10;
|
|
1469
|
-
}
|
|
1470
|
-
*/
|
|
1471
1458
|
}
|
|
1472
1459
|
else if (useMaxSpace) {
|
|
1473
1460
|
let maxHeight = viewportHeight - 30;
|
package/dist/easyquery.ui.esm.js
CHANGED
|
@@ -1453,19 +1453,6 @@ class MenuLevel {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
this.scrollDiv.style.maxHeight = maxHeight + 'px';
|
|
1455
1455
|
levelStyle.top = this.adjustTopPos(y) + 'px';
|
|
1456
|
-
/*
|
|
1457
|
-
|
|
1458
|
-
const levelDivRect = this.levelDiv.getBoundingClientRect();
|
|
1459
|
-
const levelDivHeight = levelDivRect.height;
|
|
1460
|
-
|
|
1461
|
-
if (levelDivHeight > winSize.height - y - 20) {
|
|
1462
|
-
y = winSize.height - levelDivHeight - 20;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
if (y < scrollY + 10) {
|
|
1466
|
-
y = scrollY + 10;
|
|
1467
|
-
}
|
|
1468
|
-
*/
|
|
1469
1456
|
}
|
|
1470
1457
|
else if (useMaxSpace) {
|
|
1471
1458
|
let maxHeight = viewportHeight - 30;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easyquery/ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0-rc01",
|
|
4
4
|
"description": "EasyQuery.JS Community UI widgets",
|
|
5
5
|
"types": "./dist/types/public_api.d.ts",
|
|
6
6
|
"main": "./dist/easyquery.ui.cjs.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"bugs": "https://korzh.com/support",
|
|
31
31
|
"license": "LGPL-3.0",
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@easyquery/core": "^7.
|
|
33
|
+
"@easyquery/core": "^7.4.0-rc01"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|