circlingthesun / angular-foundation-6

Foundation 6 directives for Angular 1.5+
http://circlingthesun.github.io/angular-foundation-6/
Other
95 stars 50 forks source link

Disable Desktop Carousel Swipe Event #54

Closed tristolliday closed 7 years ago

tristolliday commented 7 years ago

The Carousel element has a strange feature when swiping on desktop where it seems to stick to the mouse. Is there a way to disable swiping on desktop devices?

circlingthesun commented 7 years ago

There is no way to do this currently. I'll be willing to accept a PR that adds an attribute to disable swiping. However, determining what qualifies as a "desktop device" would be better left to the application consuming the library.

tristolliday commented 7 years ago

Cool, i will close the issue and see if I can make something PR-able,

Many thanks - great library!