splide
splide copied to clipboard
Need Help: Stoping the slider to scroll when click on visible slide
trafficstars
Checks
- [X] Not a duplicate.
- [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
V4
Description
HI NaotoshiFujita Thanks you for your great library
Currently, I am trying to apply your library to my use case as below, please help me with this
Reproduction Link
No response
Steps to Reproduce
- I followed the instruction to create thumbnail-carousel https://splidejs.com/tutorials/thumbnail-carousel
- Current result is great when I click on the slide 1/2/3 which are visible -> Slider will update UI and index correctly without scrolling the carousel. when I click on the other slides such as 4 or 5 -> slider will scroll the Clicked slide to the center and update Index.
Expected Behaviour
- How can I customize or apply the library so that
- when I click on the visible slide (such as 4/5/6 and middle slides) the slider will update active state and index correctly without scrolling the carousel.
- The carousel only scroll when I clicked on the arrow buttons and the active slide is from invisible -> visible
Thank you so much for your time