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
That the map pans as it normally does when dragging it around.
Actual Behavior
Panning doesn't work. The map shifts by a few pixels, but then a "not allowed" icon (🚫) pops up above the cursor, and despite dragging the cursor around, the map does not actually pan.
If you single click on the map at this zoom level, then normal panning functionality is restored. This only seems to happens after double-clicking on the map to zoom in. If you zoom in by other means (scrolling or using zoom buttons if present on the map), then this doesn't happen.
In Edge 41, the behavior is mostly the same, although after trying to pan, the cursor also gets stuck in the the grabbing state (so the closed hand version of the icon) after tying to pan until you single click again. I'm not sure if that's relevant, but it seems like Edge is somehow getting mixed up about what state the drag behavior is in after double-clicking.
The text was updated successfully, but these errors were encountered:
GUI
added a commit
to GUI/mapbox-gl-js
that referenced
this issue
May 25, 2018
See mapbox#6740
Double-clicking on the map breaks panning in Edge and IE11. The issue is
that after double-clicking, Edge & IE perform a text selection within
the div, so then subsequent drag actions are trying to drag the
selection instead of dragging the map. This fixes it by disabling text
selection within the container.
I opened a PR which I think fixes this: #6743 The issue appears to be that Edge is performing a text selection on double-click, so subsequent drags after double-clicking are trying to drag the selection.
This issue also appears to affect IE11 (the behavior is subtly different, but the issue is basically the same).
See #6740
Double-clicking on the map breaks panning in Edge and IE11. The issue is
that after double-clicking, Edge & IE perform a text selection within
the div, so then subsequent drag actions are trying to drag the
selection instead of dragging the map. This fixes it by disabling text
selection within the container.
mapbox-gl-js version: 0.45.0
browser: Edge 42.17134.1.0
Steps to Trigger Behavior
Link to Demonstration
https://www.mapbox.com/mapbox-gl-js/example/simple-map/
Expected Behavior
That the map pans as it normally does when dragging it around.
Actual Behavior
Panning doesn't work. The map shifts by a few pixels, but then a "not allowed" icon (🚫) pops up above the cursor, and despite dragging the cursor around, the map does not actually pan.
If you single click on the map at this zoom level, then normal panning functionality is restored. This only seems to happens after double-clicking on the map to zoom in. If you zoom in by other means (scrolling or using zoom buttons if present on the map), then this doesn't happen.
In Edge 41, the behavior is mostly the same, although after trying to pan, the cursor also gets stuck in the the
grabbing
state (so the closed hand version of the icon) after tying to pan until you single click again. I'm not sure if that's relevant, but it seems like Edge is somehow getting mixed up about what state the drag behavior is in after double-clicking.The text was updated successfully, but these errors were encountered: