From 88df6b1a194c6158e5463705a4de4fa6076ac1f3 Mon Sep 17 00:00:00 2001 From: Danil Valov Date: Mon, 14 Oct 2024 22:38:42 +0300 Subject: [PATCH] fix: incorrect gesture direction detection --- src/components/gallery/Reflection.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/gallery/Reflection.tsx b/src/components/gallery/Reflection.tsx index 449dd0a..07b7e3f 100644 --- a/src/components/gallery/Reflection.tsx +++ b/src/components/gallery/Reflection.tsx @@ -253,6 +253,7 @@ const Reflection = ({ const pan = Gesture.Pan() .withTestId('pan') .maxPointers(1) + .minVelocity(100) .enabled(gesturesEnabled) .onStart((e) => { onPanStart && runOnJS(onPanStart)(e);