-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add swipe navigation to bottom #45
Comments
maybe a kind of toaster message at the bottom of the screen, inviting the user to swipe from right to left to proceed to the next step? Or a tutorial for first time users? |
We do already have a welcome modal (shows on first usage) that should sort of indicate this. Perhaps we could review the text to see if we should modify it to indicate swiping... Beyond that, our library does support pagination indicators, but I couldn't get them working. Some Google searching suggests something might be broken between our version of
|
We're using a very old version of [Swiper.js](https://swiperjs.com/). Moreover, our usage is partially broken - we'd like to have the "pagination" dots at the bottom (at least on small screens when all slides aren't visible), but they don't seem to be working. (Perhaps something is broken between our old version of Swiper and the react-id-swiper package we were using. - Stop using react-id-swiper. Swiper 11 comes with native react support. - Upgrade to Swiper React 11. Although the docs suggest Swiper React is deprecated and we should migrate to Swiper Element, I'm sticking with react for now because using Swiper Element with React and breakpoints involves more complication than I want to deal with. Let's keep it simple. Fixes #45
This will be fixed by the Astro rewrite. As part of that rewrite, I pulled in a major version bump for Swiper and got the pagination styles to work correctly. Currently in development on the astro branch. (Preview) I'll close this after that branch merges to main. |
It isn't obvious that you need to swipe. Can we add some kind of indicator?
The library we're using for this is Swiper. I'd be surprised if there's not an option we can turn on that will make this easy to do.
The text was updated successfully, but these errors were encountered: