Skip to content

Commit

Permalink
fix: avoid press when swiping
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFridmansky authored and Lipo11 committed May 27, 2024
1 parent 0f6a65d commit 8c003c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ const StoryModal = forwardRef<StoryModalPublicMethods, StoryModalProps>( ( {
<Animated.View style={ModalStyles.container} testID="storyModal">
<Pressable
onPressIn={onPressIn}
onPressOut={onPress}
onPress={onPress}
onLongPress={onLongPress}
delayLongPress={LONG_PRESS_DURATION}
style={ModalStyles.container}
Expand Down

0 comments on commit 8c003c9

Please sign in to comment.