gbrlsnchs / material2-carousel

A carousel component for Angular using Material
https://gsr.dev/material2-carousel
MIT License
85 stars 118 forks source link

How to disable the "grab" functionality of the carousel? #23

Open arpavlic03 opened 5 years ago

arpavlic03 commented 5 years ago

Hello,

I need to be able to create a static carousel where users don't "grab" and move the slides within the angular app I am building. This app is only intended for browser platforms for an older demographic as users and they might find the "grab and drag functionality" in moving slides frustrating if the interaction is accidental. Is there any tips/tricks to disable the drag functionality?

gbrlsnchs commented 5 years ago

This will have to be worked on. Currently it is always on. I might come with something soon, or you can open a PR to help me get this going!

IAMtheIAM commented 4 years ago

You could try removing hammerjs - it seems that is required for the drag functionality to work. Currently, the drag functionality is not working for me, and I want it to...lol