This issue is for discussion of the use case “Require interaction before allowing pan/zoom”, its examples & list of required capabilities.
When a user hovers their mouse pointer (even if just briefly) over a map, before wanting to continue scrolling the web page (or panning the screen, on touch devices) map viewers are often panned/zoomed instead, sort of trapping the user from scrolling.
Maybe there should be a way for authors, or perhaps the end-user even, to dictate whether panning/zooming should be allowed before interacting with it, such as tapping/clicking the map.
Of all the reviewed reference tools, Google Maps is the only one to require interaction (see Google Maps' "Cooperative Gesture Handling") before enabling pan/zoom - requiring using 2 fingers to interact with the map on touch devices, or holding ctrl + mouse pointer interaction on desktop (Windows).
(Similar issues could arise from <iframe> already, or any overflowing element, maybe this should be a WHATWG HTML issue instead.)
This issue is for discussion of the use case “Require interaction before allowing pan/zoom”, its examples & list of required capabilities.
When a user hovers their mouse pointer (even if just briefly) over a map, before wanting to continue scrolling the web page (or panning the screen, on touch devices) map viewers are often panned/zoomed instead, sort of trapping the user from scrolling.
Maybe there should be a way for authors, or perhaps the end-user even, to dictate whether panning/zooming should be allowed before interacting with it, such as tapping/clicking the map.
Of all the reviewed reference tools, Google Maps is the only one to require interaction (see Google Maps' "Cooperative Gesture Handling") before enabling pan/zoom - requiring using 2 fingers to interact with the map on touch devices, or holding ctrl + mouse pointer interaction on desktop (Windows).
(Similar issues could arise from
<iframe>already, or any overflowing element, maybe this should be a WHATWG HTML issue instead.)