-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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 swiper jumping to wrong slide #3523
Comments
Hi I'm also having this issue and can't get vertical thumb with horizontal slider to work properly. Did you resolve it? |
Do you think it can resolve this #3816 ? |
The PR to which the author of this issue report refers is #3524 but erroneously the number 5323 was indicated as the reference issue and not the correct one #3523 Also, a few days ago, the bot has automatically marked this PR as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I have the same issue but with a horizontally scrolled thumb slider with slidesPerView and slidesPerGroup enabled Navigating through top gallery provides expected result, except active thumb is not 'revealed' or scrolled to. Clicking through thumbs causes crazy sliding around of thumb slider and hiding of active thumb. https://stackblitz.com/edit/swiper-thumbs-issue-slidesperview?file=index.html |
Guys, this is still not fixed. It's a basic behaviour which should work. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one. |
Having the same issue; What makes this break;
How come the demo works just fine? Is the build inside demo 'built' differently? :) https://codesandbox.io/p/sandbox/5mw76j?file=%2Findex.html Or does it have to do with 'modules' way? p.s. If I remove |
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
Swiper Version: 5.3.6
Platform/Target and Browser Versions: Windows/Chrome
Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).
What you did
I have a horizontal Swiper with vertical thumbs. For example with 6 thumbs. I click the thumb slides to navigate the big horizontal Swiper. Additionally I have arrows up/down to slide the thumbs.
Expected Behavior
If I click a thumb the following should happen:
Actual Behavior
I did analyse the problem and it is relayed to a Math.floor() in slideTo-method, which should be a Math.ceil(). With this fix it worked for me and I will add a pull request for this issue.
The text was updated successfully, but these errors were encountered: