ZXY101 / mokuro-reader

A mokuro reader written in svelte
https://reader.mokuro.app/
GNU General Public License v3.0
68 stars 19 forks source link

Overscroll navigation activates while panning on PC #4

Closed darren-moore closed 1 year ago

darren-moore commented 1 year ago

In Chromium, if you swipe left or right, the browser back/forward gesture activates while trying to pan around the page. I found the following CSS prevents this: html, body { overscroll-behavior: contain; }

I tested this by adding the lines to the html and body sections in the devtool inspector, but I'm not sure where to add this in the app's code.

ZXY101 commented 1 year ago

Should be fixed now.