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
This will work as expected in all browsers except Firefox when you also have .hoverInfo invoked. If you take out .hoverInfo and leave the zoom behavior in, the css based path:hover will also work in Firefox.
but I couldn't get it to do the focus rings I wanted.
In analyzing this issue I found some duplicate use of pointer events (as attribute and as style) in the path elements mapmap.js creates, but they seem unrelated
The text was updated successfully, but these errors were encountered:
I can confirm this, but it doesn't seem to depend on even adding .hoverInfo() on my machine. I had an idea for a fix, unfortunately it didn't work, so I have to investigate this further.
Firefox mouse event handling on SVG elements seems to be pretty broken, I found a related bug but I am not sure if this is related.
Thanks for taking the time to look after the minor problems and Firefox intricacies.
At least on static SVG, Firefox does the path:hover as intended, see here http://vis.uell.net/mapmap/test-hover-ff.html
Yes, I know, this has something to do with dynamically generated elements. I hope I have more time to look into this after the FOSSGIS conference next week.
Say you wanted to have focus-rings on mousing over municipalities like so
just add this line in the style section of
https://github.com/floledermann/mapmap-examples/blob/master/tutorial/basics.html
This will work as expected in all browsers except Firefox when you also have
.hoverInfo
invoked. If you take out .hoverInfo and leave the zoom behavior in, the css based path:hover will also work in Firefox.Now I can see mapmap.js provides something like
but I couldn't get it to do the focus rings I wanted.
In analyzing this issue I found some duplicate use of pointer events (as attribute and as style) in the path elements mapmap.js creates, but they seem unrelated
The text was updated successfully, but these errors were encountered: