Emiliano-Bucci/react-spring-carousel-js

Disable Gesture Handler

lagmoellertim opened this issue · 2 comments

Hey,
first of all, thank you for your awesome library! I am planning to use it in my current Image Gallery Project inside of a custom Lightbox. I would like to build in a zoom-feature (double tap on pcs, pinch to zoom on mobile). I think that it would be useful to add the ability to disable the gesture handlers of this carousel (so it just displays the current image/slide), so that other gesture handlers like zoom can take over, until you zoom back to normal, in which case the carousel gesture handlers could be activated again.

So maybe a additional prop like disableGestures could be implemented.

@lagmoellertim Hello! And thanks for the feedback :) I believe it could be easily done; I'll let you know :)