-
-
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
[BUG] - Tabs with prop destroyInactiveTabPanel error #4344
Comments
preliminary findings:
|
I have the same problem. My local installed component versions:
I searched |
Same issue. I am using Next.js 15, React 18, and NextUI 2.6.5. This issue does not seem to affect the build and usage, it only throws an error when running the development server. |
I'm also using Next.js 15, I tried to downgrade my React to 18 and find this problem persists. Then I found that when using nextjs' App Router, it always use bundled react (located I searched nextjs documentation, found this https://nextjs.org/blog/next-15-1#react-19-stable :
|
NextUI Version
2.6.8
Describe the bug
I want to reopen this issue #3972 that I made a while back, with the Tabs component having the destroyInactiveTabPanel={false} prop. The bug was closed labeled as fixed, so I updated NextUI to 2.6.8 but the same error still persists if the prop exists. Basically the error that I get when I open a page with that Tab component that has the destroyInactiveTablePanel prop set to false is this
The error message is not identical but it is similar. I tried with both react 18 and 19. Both versions show the same error.
Your Example Website or App
https://github.com/stefnto/typescript-project
Steps to Reproduce the Bug or Issue
Code is on app/page.tsx so you just navigate to localhost:3000 after opening the dev server
Expected behavior
This error shouldn't show.
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: