Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Point's background color doesn't persist during mouse hover event (IE only) #6957
It happens only when
After hovering on a certain area on the map, it's color should be changed to hover state color and maintain as long as mouse remains inside this area.
After hover event within area (except hovering on the area label - then everything works fine) hover color appears as it should and immediately after that it changes back to unhover state color. When mouse is moved again just a bit, hover state color appears and disappears again.
Live demo with steps to reproduce
Hover mouse in any sate beyond the state name label. Don't move the mouse for a moment. Wait until color changes to unhover state color and move mouse again.
changed the title from
Point's background color doesn't persist after mouse hover (IE only)
Point's background color doesn't persist during mouse hover event (IE only)
Jul 13, 2017
The problem was that IE/Edge seems to fire mouseover and mouseout events for all the elements in the SVG below whenever the
referenced this issue
Mar 5, 2018
Thanks for this post, I was about to get crazy trying to figure this out.
I did a simulation for the useHtml with this: