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

unexpected behavior in scrollbar's thumb when combine centeredSlides and loop #7838

Open
5 of 6 tasks
jorgefernandes opened this issue Jan 4, 2025 · 0 comments
Open
5 of 6 tasks

Comments

@jorgefernandes
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-infinite-loop-forked-8rx9fk

Bug description

Using centeredSlides with loop, the scroll's thumb make a unexpected movement when swiping through slides. You can see what i'm saying when swiping to the left when passing from slide 8 to 9 (in the example), or swiping backwards when it reaches from 4 to 3. I think this is due the changing in positions of elements to make the loop effect

Expected Behavior

No response

Actual Behavior

No response

Swiper version

11.1.14

Platform/Target and Browser Versions

macOs Chrome

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
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

1 participant