11 lines
358 B
HTML
11 lines
358 B
HTML
---
|
|
layout: example.html
|
|
title: Page Scrolling
|
|
shortdesc: Shows a map that does not interrupt page scrolling.
|
|
docs: >
|
|
To perform wheel/trackpad zoom and drag-pan actions only when the map
|
|
has the focus, configure your map div with a `tabindex` attribute.
|
|
tags: "trackpad, mousewheel, zoom, scroll, page"
|
|
---
|
|
<div tabindex="1" id="map" class="map"></div>
|