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

Elements with width value set: Autoplay loop the sliders in swiper js jump when the loop ends and also strange transition speed between slides #7720

Open
5 of 6 tasks
robertkibet opened this issue Sep 4, 2024 · 1 comment

Comments

@robertkibet
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://stackblitz.com/edit/swiperjs-marquee-demo?file=index.html

Bug description

autoplay and loop with a set speed seems to glitch when slides have different widths set to the element.

It results in a slow motion in some cases and fast transition in some places

Expected Behavior

uniform sliding regardless of set element width.

Actual Behavior

strange slow motion transition speed noticed on some elements

Swiper version

11.1.10

Platform/Target and Browser Versions

Windows 11

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.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@rajnikakadiya
Copy link

I am facing same issue. I have autoPlay and loop enabled and after Swiper ends and restart from first slide, if I click on pagination, slides comes from wrong/opposite direction and some times it jumps as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants