Skip to content

fix(dashboard): z-index issue#6429

Merged
chronark merged 1 commit into
mainfrom
fix-z-index-for-combobox
Jun 11, 2026
Merged

fix(dashboard): z-index issue#6429
chronark merged 1 commit into
mainfrom
fix-z-index-for-combobox

Conversation

@ogzhanolguncu

@ogzhanolguncu ogzhanolguncu commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Fixes ENG-2901
Problem:

Absolute icon with no z-index hidden behind the trigger whose bg is transparent in light but dark:bg-black in dark. it was a stacking order bug

Before:
Screenshot 2026-06-11 at 16 03 48

After:
Screenshot 2026-06-11 at 16 03 36

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboard Ready Ready Preview, Comment Jun 11, 2026 1:06pm
design Ready Ready Preview, Comment Jun 11, 2026 1:06pm

Request Review

@linear-code

linear-code Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

ENG-2901

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes — a one-line z-index fix for the dashboard Combobox to restore the dark-mode left icon's visibility (ENG-2901).

  • Lift the leftIcon above the trigger background — adds z-10 to the absolutely-positioned leftIcon wrapper in web/apps/dashboard/components/ui/combobox.tsx. The icon is a sibling that precedes the PopoverTrigger button in DOM order; the button's dark:bg-black background painted over it in dark mode, hiding the icon. z-10 raises the icon above that background.
  • Cosmetic reflow — the single-line icon JSX is split across three lines with no behavior change.

The fix is correct and minimal: the icon retains pointer-events-none so clicks still pass through to the trigger, and the portaled PopoverContent uses z-200, so z-10 does not interfere with the dropdown stacking.

Pullfrog  | View workflow run | Using Claude Opus𝕏

@chronark chronark added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit 2427da5 Jun 11, 2026
15 checks passed
@chronark chronark deleted the fix-z-index-for-combobox branch June 11, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants