Skip to content

Account dropdown menu obscured by empty state gradient overlay on /apps page #29241

@lyzno1

Description

@lyzno1

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:

  1. HeaderWrapper (web/app/components/header/header-wrapper.tsx:31) has z-[15] and creates a stacking context
  2. Empty component overlay (web/app/components/apps/empty.tsx:26) has z-20 with gradient bg-gradient-to-t from-background-body to-transparent
  3. Since HeaderWrapper's z-index (15) is lower than Empty's overlay (20), the entire header including the dropdown is rendered below the overlay
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions