Skip to content

Limit slider swipe reach #4794

Open
Open
@jjstanton

Description

@jjstanton

Clear and concise description of the problem

When scrolling on mobile and the velocity of the swipe is high enough, the slider will exceed the prev/next slide or more.

Open on mobile: https://swiperjs.com/demos/010-default/core.html

Suggested solution

Create parameter to limit the swipe reach to the prev or next slide only. Especially for CSS mode as this has the best performance on mobile.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions