maxmarinich / react-alice-carousel

React responsive component for building content galleries, content rotators and any React carousels
MIT License
832 stars 91 forks source link

swipeDelta for vertical movements #276

Closed Kevin-M-Zaleo closed 1 year ago

Kevin-M-Zaleo commented 1 year ago

Hy is there a way to have something similar to the swipeDelta Param but for vertical TouchEvents. On mobile i got the problem that i have an rather large carousel, taking up most of the screen. when i am using touchMoveDefaultEvents={false} the site becomes sort of unusable on mobile devices with a smaller Viewport. Is there a way to apply swipeDelta to horizontal touch movements?

maxmarinich commented 1 year ago

Hi, @Kevin-M-Zaleo! There is no that possibility for a vertical swipes. I think all necessary cases are covered by the current behavior. And using touchMoveDefaultEvents with false is a very specific.