-
Notifications
You must be signed in to change notification settings - Fork 59
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
Navigation does not honor loop mode when using only two slides #66
Comments
Note, for anyone that wants a bad temporary hack, add two extra slides that are the same. One issue was that with this solution I had to implement my own navigation plugin using the |
@bediu Would you like to create a fix PR😄? |
I can try to fix this but I'm not familiar with the codebase. Can you share some information where do I start? |
@bediu Sorry, I'm kinda busy this days so can not reply to you soon. I thought the problem is caused by tiny-swiper/packages/tiny-swiper/src/core/state/operations.ts Lines 186 to 222 in a7a95e6
|
Describe the bug
Navigation does not honor loop mode when using only two slides, it keeps going back and forth.
Expected behavior
Navigation should honor loop mode when using only two slides, and change the slides according to the navigation element clicked [prev, next]
Information
The text was updated successfully, but these errors were encountered: