Skip to content
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

"RewindOnSwipe" option #5361

Closed
3 of 4 tasks
putnikproj opened this issue Jan 13, 2022 · 0 comments · Fixed by #5422
Closed
3 of 4 tasks

"RewindOnSwipe" option #5361

putnikproj opened this issue Jan 13, 2022 · 0 comments · Fixed by #5422

Comments

@putnikproj
Copy link

Clear and concise description of the problem

Thank you very much for adding #5003. I like this option, but it supports only navigation button clicks or calling .slideNext()/.slidePrev() functions. And it would be very nice if this also worked when you swipe (like here, https://glidejs.com/docs/options/#rewind).

Suggested solution

As I understand swipes has ratio to trigger swipe to next/previous slide. But, if this is the last slide you can't go to next slide. But with new feature if going to next slide was triggered with swipe and this is the last slide, you go to start, as in "rewind" option (as in example given above). So I want implementing this feature either as a new "rewindOnSwipe" option (or something like that) or in old "rewind" option.

Alternative

No response

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant