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
TypeError: Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'
on PopoverTrigger
#5896
Comments
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.
on PopoverTrigger
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'
on PopoverTrigger
Hi @jonahallibone are you using react 18? |
Got the same problem with React 18. I guess we need to wait for an Update on this? |
It's because of the types of React 18 issues maybe. Try |
Hi, I'm encountering the same issue after upgrading to react 18. I have the latest versions for It seems there was a PR for this (#5845) but it got closed in favor of a broader react-18 related updates (#5856). Maybe the Popover update was forgotten somehow? It seems the problem comes from the react-18 update in how |
Temp patch:
|
This was discussed on Discord and determined it was React 18 that was installed and causing the error. This issue should be closed, as reverting to the previous version will solve the problem. |
Thanks a lot |
Thanks it works |
Great that is a nice fix. |
Description
When I use a
PopoverTrigger
, I get a TypeError for the childrenLink to Reproduction
NA
Steps to reproduce
Button
in the triggerType '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.
Chakra UI Version
1.8.8
Browser
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: