Closed Gunner17 closed 4 years ago
This issue seems to be duplicate of https://github.com/kadoshms/react-jvectormap/issues/2
To do manual cleaning do the following when transitioning -
Array.from(document.getElementsByClassName("jvectormap-tip")).forEach((el) => { el.style.display = "none"; });
For more details and caveats, see the linked issue https://github.com/kadoshms/react-jvectormap/issues/2
It helped me! Closing the issue.
A lot of times I see that the jvectormap-tip is staying in the DOM (screenshot attached), sometimes even showing up although the map has transitioned. It might significantly impact the usability. What is the best way to clean these tooltips? Is there a way to do a manual cleanup?