Skip to content

Conversation

@just-be-dev
Copy link
Contributor

@just-be-dev just-be-dev commented Aug 8, 2023

Fixes #1714

@vercel
Copy link

vercel bot commented Aug 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Aug 8, 2023 6:36pm

@benjaminleonard
Copy link
Contributor

Just tweaked it — there's some extra spacing because of the hover state and the increased click area. This now matches the previous version.

LGTM

Thanks!

</Dialog.Title>
)}
{children}
<Dialog.Close
Copy link
Contributor

Choose a reason for hiding this comment

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

We might want to add a comment for context like the side modal — in case this component is recreated and we hit the same issue again.

@just-be-dev just-be-dev merged commit f84dc87 into main Aug 8, 2023
@just-be-dev just-be-dev deleted the update-modal-focus branch August 8, 2023 18:45
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.

Focus a default button instead of a close button in dialogs

3 participants