Skip to content

Commit

Permalink
fix: incorrect gesture direction detection
Browse files Browse the repository at this point in the history
  • Loading branch information
danilvalov committed Oct 14, 2024
1 parent bc6f1d5 commit 88df6b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/gallery/Reflection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ const Reflection = ({
const pan = Gesture.Pan()
.withTestId('pan')
.maxPointers(1)
.minVelocity(100)
.enabled(gesturesEnabled)
.onStart((e) => {
onPanStart && runOnJS(onPanStart)(e);
Expand Down

0 comments on commit 88df6b1

Please sign in to comment.