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
Click on any area outside the jsfiddle preview iframe, or any other window, so that the jsfiddle preview window loses focus - but the map is still visible
When the mouse hovers the map area, a CTRL + mousewheel scroll triggers page scroll and the map area shows the message "Use CTRL + Scroll to zoom the map" (note: CTRL is hit, it's just that the jsfiddle preview iframe doesn't have focus)
maplibre-gl-js version:
latest (2.4.0)
option cooperativeGestures true
browser:
Any MS Windows browser (chrome, edge, firefox)
Steps to Trigger Behavior
First, it's important to understand, that CTRL + Scroll in MS Windows triggers a page zoom.
Link to Demonstration
https://jsfiddle.net/br6ugym5/
https://user-images.githubusercontent.com/117347518/218996980-d9316432-8dc0-49d7-a940-aa62e0193dd2.mp4
Expected behavior
As in mapbox https://docs.mapbox.com/mapbox-gl-js/example/cooperative-gestures/
When the mouse hovers the page area, a CTRL + mousewheel scroll triggers a page scroll
When the mouse hovers the map area, a CTRL + mousewheel scroll triggers a map scroll
Actual behavior
When the mouse hovers the map area, a CTRL + mousewheel scroll triggers page scroll and the map area shows the message "Use CTRL + Scroll to zoom the map" (note: CTRL is hit, it's just that the jsfiddle preview iframe doesn't have focus)
Related tickets
See #234
See #1234
The text was updated successfully, but these errors were encountered: