gordon-cs / appbuilder-pwa

MIT License
0 stars 0 forks source link

Navigation: Swipe Between Chapters - 4pts #53

Closed Jason-Lopez8 closed 1 year ago

Jason-Lopez8 commented 1 year ago

As a user I would like to swipe between chapters without using the Navbar

elijahbigk77 commented 1 year ago

Use Swipe Svelte gestures component

chrisvire commented 1 year ago

https://www.npmjs.com/package/svelte-gestures

chrisvire commented 1 year ago

I have implemented this with:

I was having an issue with the default pan gesture to the left causing the scrolled text to go further left and having a gutter on the right. I suspected implementing the swipe between chapters would override the default pan gesture, which it did.