Skip to content

When using Swiper React + loop, onSlideChange is called twice sometimes. #6260

Answered by real-felix
real-felix asked this question in Q&A
Discussion options

You must be logged in to vote

I fixed it by using onRealIndexChange.

The API is really confusing sometimes. It looks like public API as mixed with implementation details, it's really hard to understand what is relevant and what is not.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@real-felix
Comment options

Answer selected by real-felix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants