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:(issue#1255-unmounted-uncontrolledtooltip) #1256
fix:(issue#1255-unmounted-uncontrolledtooltip) #1256
Conversation
Can you apply this changes to |
Hi @TheSharpieOne , The Tooltip component does not set or use any state of its own. This component is only passing props. However, UncontrolledTooltip has its own state which is causing the issue reported. Regards, |
Tooltip is what triggers the toggle callback. This problem originates within |
It's before calling the Tooltip Component that the error is triggered. The error is about setting state on component that is unmounted Error message that looked like:
|
Here's a link on a similar issue to this: |
I hope the additional resource help. The issue is before re-rendering the Tooltip Component. |
I found an article from the react site that talks about an issue similar to this one and the solution. This issue is a bit complicated, I hope the article can help. Here's the link: |
Feel free to merge whenever you are ready. |
I am closing this in favor of canceling the timeouts when the Tooltip unmounts. |
Did that fix happen? I still get the error reported in #1255 |
This fixes the issue on:
#1255