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

Thumbs in loop mode poorly tracking main slider #3704

Closed
1 of 3 tasks
nexces opened this issue Jul 16, 2020 · 2 comments
Closed
1 of 3 tasks

Thumbs in loop mode poorly tracking main slider #3704

nexces opened this issue Jul 16, 2020 · 2 comments

Comments

@nexces
Copy link

nexces commented Jul 16, 2020

This is a (multiple allowed):

  • bug

  • enhancement

  • feature-discussion (RFC)

  • Swiper Version: 6.0.1

  • Platform/Target and Browser Versions: all

  • Live Link or JSFiddle/Codepen or website with isssue: https://codepen.io/nexces/pen/bGEmRoM

What you did

I've setup main slider with 8 slides and thumbs slider with 6 slides per view and 6 slides in group with loop and
blanks filling - codepen link provided

Expected Behavior

I've expected that when moving from slide 6 to 7 on main slider, thumbs will transition to left revealing 2nd group of slides with slides 7&8

Actual Behavior

When moving from slide 6 to 7 nothing happens, and when moving from slide 7 to 8 thumbs are transitioning to right.
Same happens with change from slide 8 to 1 (nothing), and moving from slide 1 to 2 - thumbs are transitioning to right.

@ygj6
Copy link
Contributor

ygj6 commented Nov 26, 2020

@nexces This example is similar to your example, but there are no problems you describe.
https://github.com/nolimits4web/swiper/blob/master/demos/310-thumbs-gallery-loop.html

@nexces
Copy link
Author

nexces commented Nov 26, 2020

@ygj6 Indeed, however:

  • I'm not using freeMode
  • I'm using slidesPerView, slidesPerGroup, loopFillGroupWithBlank

And I'm pretty sure that this option combination might be responsible - it just might as simple as bad comparison ( ">" instead ">=") or something similar

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

2 participants