fix(ui): remove phantom context menu scrollbars

Keep hidden submenus in viewport-fixed positioning from their first layout so they do not enlarge the root context menu scroll area before hover. Preserve viewport-safe submenu placement for mouse and keyboard activation.
This commit is contained in:
Sucukdeluxe
2026-08-15 03:10:11 +02:00
parent 8efee74b5c
commit f4b9bc9f12
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ body,
.menu-submenu-dropdown {
position: absolute;
top: -4px;
left: 100%;
left: 0;
z-index: 1001;
min-width: max-content;
background: var(--card);
@@ -2712,7 +2712,7 @@ td {
.ctx-menu-sub-items {
display: block;
position: absolute;
position: fixed;
left: 100%;
top: 0;
min-width: 120px;