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
The mouse events should trigger when the map moves under the cursor just like they do when the cursor moves over the map.
Actual Behavior
The mouse events don't trigger on map movement.
Discovered this while setting up a "Click on cluster to zoom in and expand it" demo. It's pretty common to have "click on a feature to zoom in / center on it" interaction, but if you have hover states at the same time, they become glitchy.
mapbox-gl-js version: v0.46.0-beta.1
Steps to Trigger Behavior
mouseenter
/mouseleave
listener on a layer.Link to Demonstration
https://www.mapbox.com/mapbox-gl-js/example/hover-styles/
Click on the map to focus on it, then hover on a state and press a keyboard arrow to pan away. The hovered status doesn't change.
Expected Behavior
The mouse events should trigger when the map moves under the cursor just like they do when the cursor moves over the map.
Actual Behavior
The mouse events don't trigger on map movement.
Discovered this while setting up a "Click on cluster to zoom in and expand it" demo. It's pretty common to have "click on a feature to zoom in / center on it" interaction, but if you have hover states at the same time, they become glitchy.
cc @jfirebaugh
The text was updated successfully, but these errors were encountered: