-
-
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] - Incompatibilities with newer Next.js canaries. #3021
Comments
The nextjs canary version requires react 19 rc, which seems react-aria currently doesn't support yet. |
yeah it's going on : |
|
I'm also experiencing this issue on the latest RC versions. I tracked my issue down to the Dropdown. Even using the basic example Dropdown code in the docs throws it.
"@nextui-org/react": "^2.4.2", |
Yeah, only when you return a plain string it works. Any objects throws this. |
any progress? |
up, any progress? |
This issue has been marked as on hold. Here's the reasons.
I'm going to lock this conversation and will unlock it once we got some actual updates. |
Currently supported in canary branch. Will target to release in 2.6.0. However, |
NextUI Version
2.3.6
Describe the bug
seems nextui is not working with the newer next.js canaries.
PopoverTrigger throws
"Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you meant to render a collection of children, use an array instead."
When any variable or children is present within, even a div. Only flat string are accepted
See no issues on this topic on Github atm. But expect this will be a massive dealbreaker for many
Works in 14.2.3, breaks from canary 66
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Install latest nextjs canary, for example. 14.3.0-canary-70.
Use a popover, tooltip or any other portal components where children are objects or components.
Expected behavior
It to work.
Screenshots or Videos
Operating System Version
Mac
Browser
Chrome
The text was updated successfully, but these errors were encountered: