mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-07-17 01:07:56 +00:00
fix(workspace): raise DropdownMenu above modal z-index sequence (FE-770)
The Reka popper wrapper copies the content's computed z-index, and the static z-1700 lost to dialogs registered in the @primeuix modal ZIndex sequence (1701+), hiding the member row menu behind Settings. Use the same z-3000 as SelectContent.
This commit is contained in:
@@ -37,7 +37,7 @@ const itemClass = computed(() =>
|
||||
|
||||
const contentClass = computed(() =>
|
||||
cn(
|
||||
'data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade z-1700 min-w-[220px] rounded-lg border border-border-subtle bg-base-background p-2 shadow-sm will-change-[opacity,transform]',
|
||||
'data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade z-3000 min-w-[220px] rounded-lg border border-border-subtle bg-base-background p-2 shadow-sm will-change-[opacity,transform]',
|
||||
contentProp
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user