You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are too many detached nodes in my application, this is because of react-tooltip, if i comment it all are gone, how can i get rid of this. This i causing too many memory leaks and causing my app being laggy.
I am using v5.24.0
The text was updated successfully, but these errors were encountered:
@Jayvora best I can think of is that the tooltip might be leaking nodes with the render prop. Can you test a couple things to help us narrow it down? Don't forget to do the test with both your tooltips (or simply remove one of them, so testing is easier)
Remove the render prop from both your tooltip components, and just use the content prop with any text, so the tooltip still shows
Remove your RenderTooltip component to simplify the render function. Your custom component might be causing a weird interaction with the tooltip
Something like this should be good enough to test # 2:
<Tooltip...render={({ content })=>content}.../>
Please let us know if either test makes the detached nodes disappear. We might be able to investigate further from your findings.
There are too many detached nodes in my application, this is because of react-tooltip, if i comment it all are gone, how can i get rid of this. This i causing too many memory leaks and causing my app being laggy.
I am using v5.24.0
The text was updated successfully, but these errors were encountered: