-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Popper throwing error on Chakra Tooltip hover #2382
Comments
Same here. Didn't find a solution yet. From my understanding, Popper might be replaced by something else:
|
Same here. I just upgraded from |
To give some context on what's going on here: This error is thrown by In the case of chakra-ui/packages/tooltip/src/tooltip.tsx Lines 153 to 158 in efd13e6
chakra-ui/packages/tooltip/src/use-tooltip.ts Lines 187 to 193 in 6e6b39d
chakra-ui/packages/popper/src/use-popper.ts Line 164 in 20be8ef
So the chain of events is that the wrapper chakra-ui/packages/popper/src/use-popper.ts Lines 127 to 131 in 20be8ef
The issue here appears to be that since the wrapper |
In version |
I have a hunch that this issue is related to the changes made around transitions. Between rc.5 and rc.8, various components such as I wonder if I'm using Chakra's Resizing the viewport manually ensures the Hope that ramble helps... |
I just pushed a fix for this @chasinhues. The error was from our custom |
@segunadebayo Thanks for getting this fix in! 😄 when are you expecting to release this? |
What chakra version has the fix? |
any idea yet? |
LID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'; |
what is error |
Bug report
Describe the bug
When hovering over a
Tooltip
, a popper error appears in console:Minimal reproduction
https://codesandbox.io/s/eager-stonebraker-nbxjw?file=/src/App.tsx
Screenshots
The text was updated successfully, but these errors were encountered: