@xsolla/xui-context-menu 0.224.0 → 0.226.0
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/README.md +1 -0
- package/native/index.js +4 -0
- package/native/index.js.map +1 -1
- package/native/index.mjs +4 -0
- package/native/index.mjs.map +1 -1
- package/package.json +10 -10
- package/web/index.js +4 -0
- package/web/index.js.map +1 -1
- package/web/index.mjs +4 -0
- package/web/index.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-context-menu",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.226.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-checkbox": "0.
|
|
17
|
-
"@xsolla/xui-core": "0.
|
|
18
|
-
"@xsolla/xui-divider": "0.
|
|
19
|
-
"@xsolla/xui-icons": "0.
|
|
20
|
-
"@xsolla/xui-icons-base": "0.
|
|
21
|
-
"@xsolla/xui-primitives-core": "0.
|
|
22
|
-
"@xsolla/xui-radio": "0.
|
|
23
|
-
"@xsolla/xui-spinner": "0.
|
|
24
|
-
"@xsolla/xui-typography": "0.
|
|
16
|
+
"@xsolla/xui-checkbox": "0.226.0",
|
|
17
|
+
"@xsolla/xui-core": "0.226.0",
|
|
18
|
+
"@xsolla/xui-divider": "0.226.0",
|
|
19
|
+
"@xsolla/xui-icons": "0.226.0",
|
|
20
|
+
"@xsolla/xui-icons-base": "0.226.0",
|
|
21
|
+
"@xsolla/xui-primitives-core": "0.226.0",
|
|
22
|
+
"@xsolla/xui-radio": "0.226.0",
|
|
23
|
+
"@xsolla/xui-spinner": "0.226.0",
|
|
24
|
+
"@xsolla/xui-typography": "0.226.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=16.8.0",
|
package/web/index.js
CHANGED
|
@@ -2001,6 +2001,9 @@ var ContextMenuRoot = (0, import_react8.forwardRef)(
|
|
|
2001
2001
|
} : {
|
|
2002
2002
|
maxHeight,
|
|
2003
2003
|
overflowY: "auto",
|
|
2004
|
+
// Keep scroll inside the panel at its ends, so the
|
|
2005
|
+
// page never scrolls and trips close-on-scroll.
|
|
2006
|
+
overscrollBehavior: "contain",
|
|
2004
2007
|
// Panel still scrolls; the bar itself is hidden.
|
|
2005
2008
|
scrollbarWidth: "none"
|
|
2006
2009
|
},
|
|
@@ -2021,6 +2024,7 @@ var ContextMenuRoot = (0, import_react8.forwardRef)(
|
|
|
2021
2024
|
style: {
|
|
2022
2025
|
maxHeight,
|
|
2023
2026
|
overflowY: "auto",
|
|
2027
|
+
overscrollBehavior: "contain",
|
|
2024
2028
|
scrollbarWidth: "none",
|
|
2025
2029
|
borderRadius
|
|
2026
2030
|
},
|