Skip to content

fix(wait): show the ticket dialog's close button - #72

Merged
Atesta103 merged 1 commit into
mainfrom
dev
Jul 24, 2026
Merged

fix(wait): show the ticket dialog's close button#72
Atesta103 merged 1 commit into
mainfrom
dev

Conversation

@Atesta103

Copy link
Copy Markdown
Owner

DialogHeader only renders its × button when passed its own onClose prop — separate from the Dialog wrapper's onClose, which only handles Escape and the native cancel event. The ticket dialog passed onClose to Dialog but not to DialogHeader, so it rendered with no visible way to dismiss it, discovered during manual Preview testing (no backdrop-click-to-close exists in this Dialog component at all, by design — every other dialog in this codebase that needs a close button passes onClose to both, e.g. ConfirmDialog.tsx:36, SettingsPanel.tsx:2023).

DialogHeader only renders its × button when passed its own onClose prop
— separate from the Dialog wrapper's onClose, which only handles Escape
and the native cancel event. The ticket dialog passed onClose to Dialog
but not to DialogHeader, so it rendered with no visible way to dismiss
it, discovered during manual Preview testing (no backdrop-click-to-close
exists in this Dialog component at all, by design — every other dialog
in this codebase that needs a close button passes onClose to both, e.g.
ConfirmDialog.tsx:36, SettingsPanel.tsx:2023).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
waitlight Building Building Preview, Comment Jul 24, 2026 12:09pm

@Atesta103
Atesta103 merged commit 2c9fb2f into main Jul 24, 2026
2 of 3 checks passed
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.

1 participant