react-mapycz icon indicating copy to clipboard operation
react-mapycz copied to clipboard

Gestures on mobile

Open CrossTheDev opened this issue 3 years ago • 0 comments

There is a problem using Mapy.cz API map on mobile phones. If you pan up inside the map the web also scrolls, making it unusable. Zoom gesture also affects the map and the page at the same time.

Edit: You can solve yourself this by adding CSS touch-action: none; on a parent element of the map.

CrossTheDev avatar Nov 15 '21 08:11 CrossTheDev