-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix(components): accordion component throws "validateDOMNesting" erro… #2169
fix(components): accordion component throws "validateDOMNesting" erro… #2169
Conversation
…r on the storybook
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@kuri-sun is attempting to deploy a commit to the NextUI Team on Vercel. A member of the Team first needs to authorize it. |
…r on the storybook
…alidateDOMnesting-error
…r on the storybook
@kuri-sun sorry, could you please modify this component code as well? https://nextui.org/docs/components/accordion#start-content |
…r on the storybook
@jrgarciadev Absolutely |
@jrgarciadev The requested change was modified. Thank you! 😄 |
@kuri-sun could you please update this as well? https://vscode.dev/github/nextui-org/nextui/blob/main/apps/docs/content/components/accordion/custom-styles.ts#L217 |
…alidateDOMnesting-error
@junior Of course, immediately! |
Closes #2168
📝 Description
The accordion component throws a "validateDOMNesting" error on the storybook
⛳️ Current behavior (updates)
When you open up the Accordion component(Custom with classNames) on the storyboard, you will get an error console message that says "validateDOMNesting(...) cannot appear as a descendant of p".(the pic below)
🚀 New behavior
There are no errors in the console.
💣 Is this a breaking change (Yes/No):
No.
📝 Additional Information