diff --git a/src/ReactNativeZoomableViewWithGestures.tsx b/src/ReactNativeZoomableViewWithGestures.tsx index 9c5b0cc..0d3f737 100644 --- a/src/ReactNativeZoomableViewWithGestures.tsx +++ b/src/ReactNativeZoomableViewWithGestures.tsx @@ -61,7 +61,7 @@ class ReactNativeZoomableViewWithGestures extends React.Component< return false; } - return onSwipe && onSwipeUp && onSwipeDown && onSwipeLeft && onSwipeRight; + return onSwipe || onSwipeUp || onSwipeDown || onSwipeLeft || onSwipeRight; } /**