-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Closed
Copy link
Labels
🐞 bugSomething isn't workingSomething isn't working
Description
Description:
On the /apps page when no apps are found, the account dropdown menu (top-right corner) appears to fade from top to bottom due to z-index layering conflict.
Root Cause:
The issue is caused by stacking context hierarchy, not just individual z-index values:
- HeaderWrapper (
web/app/components/header/header-wrapper.tsx:31) hasz-[15]and creates a stacking context - Empty component overlay (
web/app/components/apps/empty.tsx:26) hasz-20with gradientbg-gradient-to-t from-background-body to-transparent - Since HeaderWrapper's z-index (15) is lower than Empty's overlay (20), the entire header including the dropdown is rendered below the overlay
- The gradient makes the bottom portion of the dropdown appear more obscured while the top is relatively clearer
Solution:
Increase HeaderWrapper z-index from z-[15] to z-[30] to ensure the header and all its children (including dropdowns) render above page content overlays.
Affected Component:
web/app/components/header/header-wrapper.tsx
dosubot
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't working