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

Passthrough overlay children #195

Closed
wants to merge 1 commit into from

Conversation

rortan134
Copy link
Contributor

Currently, the children prop is being destructured from the dialog's overlay and staying unused. I'm not sure if this was intentional but wrapping the overlay around the content is a pretty common radix-ui practice (although not necessary. e.g. see https://github.com/radix-ui/themes/blob/300260e3c3ed5fc491129b192760aad6f96c38ac/packages/radix-ui-themes/src/components/dialog.tsx#L46C10-L56) and currently isn't possible because of this

Copy link

vercel bot commented Jan 6, 2024

@rortan134 is attempting to deploy a commit to the emil Team on Vercel.

A member of the Team first needs to authorize it.

@rortan134 rortan134 closed this Jan 6, 2024
@rortan134 rortan134 deleted the overlay-children branch January 8, 2024 07:20
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