kolkov / ngx-gallery

A simple responsive native gallery component for Angular 8+.
https://ngx-gallery.kolkov.ru/
MIT License
115 stars 55 forks source link

Let carousel move on finger swipe for mobile view #9

Closed windcloak closed 4 years ago

windcloak commented 4 years ago

I know pressing the left/right arrows will make the carousel move, but swiping it to left/right doesn't do anything. I would like to suggest that the carousel moves on finger swipe, like how Bootstrap's carousel does. (I already set imageSwipe: true and it's still not doing the swipe on mobile.)

kolkov commented 4 years ago

Hi! Do you have HammerJS installed and imported?

windcloak commented 4 years ago

I didn't have it imported correctly earlier. I forgot it used that for swipe! It's working now.