DropdownMenu/ContextMenu roots rendered under the app-wide ContextMenu.Trigger (AppContextMenu) inherit its MenuContext and are misclassified as submenus, so isRootModalContent() returns false and their modal pointer-blocking never engages — e.g. the Fill "Blend mode" / "Fit mode" menus opened without making the surface beneath inert. Patch @kobalte/core@0.13.12 to reset MenuContext at the MenuRoot boundary, so a root menu no longer inherits an unrelated ancestor menu as its parent. Real submenus use Menu.Sub (MenuSub), which bypasses MenuRoot, and are unaffected. Applied via patch-package (postinstall); rationale and removal conditions in patches/README.md. Note: app context menus are now properly modal (page inert + scroll-lock while open), the Kobalte default.
28 lines
861 B
JSON
28 lines
861 B
JSON
{
|
|
"name": "@diffusionstudio/editor",
|
|
"version": "0.129.0",
|
|
"private": true,
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"postinstall": "patch-package",
|
|
"dev": "npm run dev:web",
|
|
"dev:web": "npm run dev --workspace=@diffusionstudio/web",
|
|
"dev:desktop": "node scripts/dev-desktop.mjs",
|
|
"build": "npm run build --workspace=@diffusionstudio/web",
|
|
"build:web": "npm run build --workspace=@diffusionstudio/web",
|
|
"build:desktop": "npm run build --workspace=@diffusionstudio/desktop",
|
|
"make": "npm run make --workspace=@diffusionstudio/desktop",
|
|
"release": "node scripts/release.mjs",
|
|
"lint": "npm run lint --workspaces --if-present",
|
|
"check": "npm run check --workspaces --if-present"
|
|
},
|
|
"devDependencies": {
|
|
"patch-package": "^8.0.1"
|
|
}
|
|
}
|