kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.33k stars 5.88k forks source link

swipeToSlide is ignored in vertical slider #4189

Closed nicetomytyuk closed 1 month ago

nicetomytyuk commented 2 years ago

swipeToSlide is ignored in vertical slider.

====================================================================

JSFiddle

====================================================================

Steps to reproduce the problem

  1. Try to swipe to another slide in a different position than the next one (like from slide 1 to 4)

====================================================================

What is the expected behaviour?

Slide to be selected in swiped position

====================================================================

What is observed behaviour?

The slide selects the next slide even if it's slided to another one

====================================================================

ahmadalfy commented 2 years ago

@nicetomytyuk can you check if the solution mentioned here solves your problem?