I've got the following component that wraps other components and enables swipe navigation using react-use-gestures and react-spring. It works swell.
You call it like so:
<AnimatedSwipeNavigation onSwipeLeft={navigateRight} onSwipeRight={navigateLeft}>
<SomeOtherComponent>
</AnimatedSwipeNavigation>
However, I'd like to exclude nested components inside of <SomeOtherComponent>
from gesture recognition (drag-n-drop elements).
Visually, here's what I'm trying to achieve
Thoughts? I'm not seeing much discussion in their issues about this.