tabindex without focux condition
This commit is contained in:
10
examples/page-scroll.html
Normal file
10
examples/page-scroll.html
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
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>
|
||||
Reference in New Issue
Block a user