kenwheeler / slick

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

swipe and release outside container will halt sliding #1082

Open pucka opened 9 years ago

pucka commented 9 years ago

This is tested with Safari on iOS 7+. When starting to swipe a slide and then move your finger outside carousel, when only a part of the slide is moved, to trigger a touchend the slide is stuck in the position where you left it. Expected behaviour would be that the slide would either go back to start position or proceed to end position, even when touchend is triggered outside the carousel container.

This is easiest tested on any carousel @ http://kenwheeler.github.io/slick/ rather on a jsfiddle due to jsfiddles poor mobile support

desandro commented 9 years ago

You might want to try Flickity. Flickity completely supports touch events, so you can touch down, then drag outside the carousel and it works fine.