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 came up in user testing. It is frustrating for new users to be unable to open devtools on a page with a full screen map. Our example code creates a fullscreen map.
lucaswoj
changed the title
Ability to re-enable browser-native contextmenu
Allow users to re-enable browser-native contextmenu
Jul 29, 2016
While this will make preserveDrawingBuffer invalid. If dragRotate is disabled, the context menu will display when click on the map, which indicates user to save the picture of the map.
mapbox-gl-js version:
Steps to Trigger Behavior
map.off('contextmenu')
Expected Behavior
The browser's context menu will appear.
Actual Behavior
The _onContextMenu handler still prevents the event from having a default action.
The text was updated successfully, but these errors were encountered: