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

[NavigationMenu] Allow children in Viewport types #2522

Merged

Conversation

lukemartin
Copy link
Contributor

Description

This is the same change as in #1300, but for NavigationMenu. The change allows us to pass children to NavigationMenu.Viewport when using the asChild prop.

Referenced issue: #1284.

Thanks ✌️

@chaance chaance changed the title [NavigationMenu] Allow children in Viewport types for asChild composition [NavigationMenu] Allow children in Viewport types Sep 26, 2024
@chaance chaance merged commit 2fce1dc into radix-ui:main Sep 26, 2024
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.

2 participants