GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — fix(web): dialogs and palettes no longer render under the composer slash menu by shaneeilia-bridgit · Pull Request #8152 · pingdotgg/t3code Conversation
|
| Before | After |
|---|---|
![]() |
![]() |
Verified with tsgo --noEmit, vp lint + vp fmt --check on the changed files, and vp test run apps/web/src/components/ui/command.test.tsx.
Implemented by Claude Fable 5 running in Claude Code.
🤖 Generated with Claude Code
Note
Low Risk
Tailwind z-index-only changes in shared UI primitives; no auth, data, or runtime logic.
Overview
Fixes modals and palettes rendering under the composer / and $ menus when both are open (e.g. slash menu up, then New thread / Add project from the sidebar).
Modal overlay stacking is bumped from z-50 to z-[80] on shared dialog backdrops (dialog-styles.ts) and on viewports/backdrops for dialog, alert-dialog, command palette, and sheet — six class strings, no behavior changes. That puts overlays above the composer menu layer at z-[70] while staying below toasts (100) and popover-style UI (130).
Reviewed by Cursor Bugbot for commit 0545018. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
z-50 to z-[80]Updates the z-index utility class across the dialog, alert dialog, command palette, and sheet viewports and backdrops so they stack above the composer slash menu. Changes span dialog.tsx, alert-dialog.tsx, command.tsx, sheet.tsx, and dialog-styles.ts.
Macroscope summarized 0545018.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The composer command drawer portals to document.body at z-70, while dialog, alert-dialog, command-palette, and sheet overlays sat at z-50. Opening any of them while the slash menu was up (for example New thread or Add project in the sidebar) rendered the modal underneath the menu. Raise the modal overlay layer to z-80: above the composer drawer (70), below toasts (100) and popups (130), so no other layering changes. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a focused six-line stacking-order correction across existing dialog, palette, alert-dialog, and sheet primitives. It places these overlays above the composer menu while preserving the surrounding UI layer hierarchy, with no new logic or broader runtime surface. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Superseded by #9613, which landed the same composer-slash-menu vs dialog/palette stacking fix (lowered the composer drawer layer instead of raising modal overlays) and closed #9555. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.