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
When using Edge browser, if you pan the map and drag the cursor outside of the map div, the center of the map jumps a full width/height of the map to another location. Here is an example:
I haven't gotten access to the new version of Edge which is based on chromium, it's possible that this issue may be resolved in that version when it becomes available, but logging this issue so it can be tested then.
mapbox-gl-js version: 0.53.1
browser: Edge (version 44.17763.1.0)
Steps to Trigger Behavior
Open one of the examples in Edge browser.
Start panning the map via mouse down.
Drag the mouse cursor outside of the map div, watch the map view jump.
Expected Behavior
Map would continue to pan without the map center jumping to another location far away. Similar to what happens in other browsers.
Actual Behavior
The map center jumps to a location about the width/height distance of the map div.
The text was updated successfully, but these errors were encountered:
Thanks for the report! Looks like Edge is behaving differently when calculating mouse position, possibly if the map is in an iframe. The relevant util function is here:
Good news, the new version of Edge is available publicly for testing now here: https://www.microsoftedgeinsider.com I just tested and found that this issue is resolved in there. I believe this version of the browser is planned to be released to Windows later this year, at which point, not long after most users of Edge will likely be using that version. With this in mind, likely best to just wait for that version as likely not worth fixing something that will be irrelevant later this year.
I've done some testing and found this also resolves: #1928
When using Edge browser, if you pan the map and drag the cursor outside of the map div, the center of the map jumps a full width/height of the map to another location. Here is an example:
I was able to reproduce this with multiple examples on the examples page: https://docs.mapbox.com/mapbox-gl-js/example/simple-map/
I haven't gotten access to the new version of Edge which is based on chromium, it's possible that this issue may be resolved in that version when it becomes available, but logging this issue so it can be tested then.
mapbox-gl-js version: 0.53.1
browser: Edge (version 44.17763.1.0)
Steps to Trigger Behavior
Expected Behavior
Map would continue to pan without the map center jumping to another location far away. Similar to what happens in other browsers.
Actual Behavior
The map center jumps to a location about the width/height distance of the map div.
The text was updated successfully, but these errors were encountered: