Skip to content

docs(map): document the cooperative gestures#115

Merged
markdumay merged 1 commit into
mainfrom
docs/map-gestures
Jul 13, 2026
Merged

docs(map): document the cooperative gestures#115
markdumay merged 1 commit into
mainfrom
docs/map-gestures

Conversation

@markdumay

Copy link
Copy Markdown
Contributor

Why

gethinode/mod-leaflet#266 (released in v3.1.0) stops the map from trapping page scroll. The
gestures changed, and this page — the one visitors actually read — still described none of it:

Gesture Result
Wheel Scrolls the page
Ctrl/ + wheel Zooms the map
Mouse drag Pans the map
One finger Scrolls the page
Two fingers Pans and pinch-zooms the map

Without the note, someone whose wheel no longer zooms the map would reasonably read it as broken.

Change

Adds a Gestures section to content/components/map.md, above the argument reference, and
mentions the mapZoomHint / mapDragHint translations a site can override to reword the overlay.

No version badge: the release shortcode links to Hinode's release tags, and v3.1.0 is
mod-leaflet's version, so a badge here would point at the wrong release.

🤖 Generated with Claude Code

mod-leaflet v3.1.0 stops the map from trapping page scroll: a plain wheel and a single finger now
belong to the page, and the map zooms with Ctrl/Cmd + wheel or two fingers. Nothing on this page
said so, so a visitor whose wheel no longer zooms would read the map as broken.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@markdumay markdumay merged commit 77e315b into main Jul 13, 2026
13 of 14 checks passed
@markdumay markdumay deleted the docs/map-gestures branch July 13, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant