Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DialogPrimitive: add a guard so the yielded close function is always defined #2453

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

shleewhite
Copy link
Contributor

@shleewhite shleewhite commented Sep 24, 2024

📌 Summary

If merged, this PR would create a onDismiss getter in the DialogPrimitive so the close function that is yielded to the Footer is always defined.

🔗 External links

Jira ticket: HDS-3889


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

@shleewhite shleewhite requested a review from a team September 24, 2024 20:24
Copy link

vercel bot commented Sep 24, 2024

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

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Sep 25, 2024 3:13pm
hds-website ✅ Ready (Inspect) Visit Preview Sep 25, 2024 3:13pm

@shleewhite shleewhite merged commit e6b4955 into main Sep 25, 2024
24 checks passed
@shleewhite shleewhite deleted the hds-3889/fix-dialog-footer-close branch September 25, 2024 16:05
@hashibot-hds hashibot-hds mentioned this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants