glidejs / glide

A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
https://glidejs.com
MIT License
7.29k stars 772 forks source link

Lock y-axis on horizontal drag #207

Open JBostelaar opened 6 years ago

JBostelaar commented 6 years ago

Is there a possibility to lock the y-axis on a horizontal drag?

The slides are flickering on Chrome on iOS, because it pulls down the "Pull to refresh" functionality. So it would be nice if it could lock the y-axis when dragging, to prevent vertical scrolling.

georgest commented 5 years ago

I have the same problem! You can look at other sliders, for example Slick one and see that this behaviour is ok there.

Livog commented 5 years ago

Any updates on this? Os it there a solution that I'm unaware about?

ericmorand commented 5 years ago

Could this be related to #258 ?