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
Problem:
Using both onClickFunction and tooltipTextFunction, you can see some strange behavior of tooltip: sometimes it persists after hover ends, sometimes it displays in the wrong place, sometimes it acts onClick nor hover, etc. Removing any1 of these props solves problem.
The text was updated successfully, but these errors were encountered:
Sorry everyone, I have been away doing my Masters and working full time. I am going to get back to this starting tomorrow. Thanks for your patience. -Yams
I found out that this is related to whether the return value of the tooltipTextFunction is reused between countries - if the value is used as tooltip text is used in more than one country, then this glitch happens. If every country displays different text, it works fine. For me and for now, my workaround is to include the country name in each tooltip.
Problem:
Using both onClickFunction and tooltipTextFunction, you can see some strange behavior of tooltip: sometimes it persists after hover ends, sometimes it displays in the wrong place, sometimes it acts onClick nor hover, etc. Removing any1 of these props solves problem.
The text was updated successfully, but these errors were encountered: