Slider not scrolled to active thumbnail if it visible, but not entirely
See original GitHub issueThis is a (multiple allowed):
-
bug
-
enhancement
-
feature-discussion (RFC)
-
Swiper Version: 4.4.6
What you did
If part of the preview is visible, then when you go to this preview (by clicking on the preview or otherwise), the preview is not shown completely.
It may be reproduced in default demo (http://idangero.us/swiper/demos/300-thumbs-gallery.html) if you move thumbs to left (50px or more) and then move to slide №5 Screenshot: https://imgur.com/a/yp8MZYw
Expected Behavior
Previews should be scrolled so that the active element is fully visible.
I think problem in watchSlidesVisibility
option which thinks that the slide is visible if at least 1px on the screen. May be need watchSlidesVisibilityFull
or similar option?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:5
Top Results From Across the Web
BXSlider thumbnail carousel is not scrolling left - Stack Overflow
I have managed to get together a thumbnail scroller which when you click on thumbnails it will slide the thumbnails to the left....
Read more >Show or hide slide thumbnails - Microsoft Support
Show or increase the size of the slide thumbnail pane On the View tab, in the Presentation Views group, click Normal. Point to...
Read more >Scrollable content carousels. Should the scrolling experience ...
I'm in the process of designing a scrollable carousel that contains a row of thumbnail images. Around 5 thumbnail images are visible by...
Read more >Why thumbnail rendering only happens the thumbnails are on ...
If I scroll away before a thumbnail is rendered, then it will not get rendered and will remain blury, until I do give...
Read more >Lazy Loading Images – The Complete Guide - ImageKit.io
Lazy loading images that are not in the viewport improves initial page load ... the current document scroll top, and window height. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I realise this old but I have just run into the same issue, has anyone worked out how to do it?
I believe johnlewis.com use swiper and they don’t appear to have this issue.
I also have a same issue, do you guys get any solutions for it?