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

Pagination bullets behave strangely, with loop option #6518

Closed
5 of 6 tasks
Kota-M opened this issue Mar 23, 2023 · 4 comments
Closed
5 of 6 tasks

Pagination bullets behave strangely, with loop option #6518

Kota-M opened this issue Mar 23, 2023 · 4 comments

Comments

@Kota-M
Copy link

Kota-M commented Mar 23, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/wild-water-9gz8ej?file=/index.html

Bug description

If "loop" option is true, the slider behaves strangely with clicking the pagination bullets. These things may happen (not always);

  • The images slide jumpy.
  • The highlighted bullet is not sync with the displayed image.
  • The images are not moved with clicking one of the bullets.

I found these issues occur between version 9.0.0 and the latest (9.1.1), but it works well with ver 8.4.7.

Expected Behavior

No response

Actual Behavior

No response

Swiper version

9.0.0-9.1.1

Platform/Target and Browser Versions

Firefox 111.0.1

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
@CrazyWords1
Copy link

Have you found a solution to the problem?

@Kota-M
Copy link
Author

Kota-M commented Mar 27, 2023

No, not yet. The strange behaviour problem has not resolved.

@electrodrel
Copy link

I have a similar issue. Initially, the pagination dots look and behave fine. Then, after the first loop, they start to shift to the left side, jumping back to the centre at the end of the loop. It looks like the calculation of the left offset is incorrect in the loop mode.

Screen.Recording.2023-04-14.at.2.58.34.PM.mov

@SaveliiLukash
Copy link

SaveliiLukash commented Apr 17, 2023

Facing the same set of bugs for loop + pagination.

Don't even have to go far to provide examples since it's bugged in the official documentation as well.

CleanShot.2023-04-17.at.16.50.49.mp4

Clicking the first bullet two times here.

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

4 participants