Skip to content

Fix MenuSection missing props in Tailwind starter #8145

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

evadecker
Copy link

The Tailwind starter did not pass ...props to MenuSection, which meant that if you attempted to set any of the top-level selection props like selectionMode, selectedKeys, or disallowEmptySelection on a MenuSection instead of the parent Menu, they would not work.

This fixes the starter example by passing ...props to MenuSection.

Fix passing selected elements to `MenuSection` in the Tailwind starter example.
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