You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Account dropdown menu obscured by empty state gradient overlay on /apps page #29241
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) has z-[15] and creates a stacking context
Empty component overlay (web/app/components/apps/empty.tsx:26) has z-20 with gradient bg-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.
The dropdown is being obscured because the Empty component's gradient overlay uses z-20, while the account dropdown's MenuItems have no explicit z-index and default to 0, so the overlay sits visually above the dropdown (source).
The most maintainable fix is to add a higher z-index (like z-30) to the MenuItems element in account-dropdown/index.tsx. For example, update the className:
This will ensure the dropdown always appears above the overlay, matching how similar layering issues are resolved elsewhere in the codebase (example).
Alternatively, you could lower the overlay's z-index in the Empty component to z-10 or z-0, since it only needs to be above the NewAppCard (z-10) and not above header elements, but raising the dropdown's z-index is more future-proof and consistent with recent fixes (example).
Either approach will make the dropdown fully visible above the overlay.
Activity
fix: account dropdown obscured by empty state overlay (#29241)
dosubot commentedon Dec 7, 2025
The dropdown is being obscured because the Empty component's gradient overlay uses
z-20, while the account dropdown's MenuItems have no explicit z-index and default to 0, so the overlay sits visually above the dropdown (source).The most maintainable fix is to add a higher z-index (like
z-30) to the MenuItems element inaccount-dropdown/index.tsx. For example, update the className:This will ensure the dropdown always appears above the overlay, matching how similar layering issues are resolved elsewhere in the codebase (example).
Alternatively, you could lower the overlay's z-index in the Empty component to
z-10orz-0, since it only needs to be above the NewAppCard (z-10) and not above header elements, but raising the dropdown's z-index is more future-proof and consistent with recent fixes (example).Either approach will make the dropdown fully visible above the overlay.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
fix: account dropdown obscured by empty state overlay (#29241) (#29242)
fix: account dropdown obscured by empty state overlay (langgenius#29241…