Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
392 stars 71 forks source link

feat(UI): Prevent out of screen scrolling with touch #1278

Closed Kruptein closed 1 year ago

Kruptein commented 1 year ago

On touch devices (and mostly mobile devices), the browser handles scrolling the UI differently and will try to slide the entire screen to the top or bottom which looks jarring in the context of PA.

This PR just adds some css rules to prevent the browser from handling touch input on the board itself as well as the side menubar.

It does not initiate fullscreen stuff as mentioned in #1155 however.