material2-carousel icon indicating copy to clipboard operation
material2-carousel copied to clipboard

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

Open arpavlic03 opened this issue 6 years ago • 2 comments
trafficstars

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?

arpavlic03 avatar Aug 07 '19 15:08 arpavlic03

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!

gbrlsnchs avatar Sep 06 '19 14:09 gbrlsnchs

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

IAMtheIAM avatar May 12 '20 20:05 IAMtheIAM