How to reliably sync multiple sliders at the same time? #570
Unanswered
yellow1912
asked this question in
Q&A
Replies: 1 comment
-
I the loop slider, clones have unique indices. If you want to get the normalized index from a const index = Slide.isClone ? Slide.slideIndex : Slide.index; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By multiple, I mean more than 2. A use case scenario can be:
Right now I'm not using sync feature, but I use event and manually "go" to the index. I listen to the navigation slider events to update the main slider accordingly. When the user clicks on any slide on the main slider I open the modal slider and navigate to the matching slide.
The problem I have is with the index. It seems like the index of the slides is different depending on the mode of the slider, so I cannot assume that slide index 1 on the main slider also matches slide index 1 on the modal slider.
Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions