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

slideChange/paginationUpdate and loop: true (since v11) #7135

Closed
5 of 6 tasks
msev opened this issue Oct 25, 2023 · 1 comment · Fixed by Mapuppy09/tradetrust-website#8 · May be fixed by WontonSam/rax-components#184
Closed
5 of 6 tasks

slideChange/paginationUpdate and loop: true (since v11) #7135

msev opened this issue Oct 25, 2023 · 1 comment · Fixed by Mapuppy09/tradetrust-website#8 · May be fixed by WontonSam/rax-components#184

Comments

@msev
Copy link

msev commented Oct 25, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/swiper-infinite-loop-forked-wzqfdq?file=/index.html

Bug description

Hi,

slideChange and paginationUpdate events are fired multiple times on init when loop: true (check console log on demo) since v11

Expected Behavior

No response

Actual Behavior

No response

Swiper version

11.0.2

Platform/Target and Browser Versions

macOS Chrome 118

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
@msev msev changed the title slideChange and loop: true slideChange/paginationUpdate and loop: true Oct 25, 2023
@msev msev changed the title slideChange/paginationUpdate and loop: true slideChange/paginationUpdate and loop: true (since v11) Oct 25, 2023
@msev
Copy link
Author

msev commented Oct 26, 2023

Hi @nolimits4web !

I still have the issue even on 11.3.0 : https://codesandbox.io/s/swiper-infinite-loop-forked-wzqfdq

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