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

feat: allow opening multiple accordions of the same name #426

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

KyleDL101
Copy link
Contributor

This change removes setting "name" prop for the AccordionItem component. The upstream component binds the "open" state to it, so you can only have one accordion of each name open at a time. The current approach is wonky because it means that we can't open two "Fixes" accordions across different versions, because we create the same accordion name across different versions.

@KyleDL101 KyleDL101 changed the title fix: allow opening multiple accordions of the same name feat: allow opening multiple accordions of the same name Jan 22, 2025
@NOCanoa NOCanoa merged commit 48ceab0 into zen-browser:main Jan 23, 2025
1 check passed
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