Skip to content

Commit df4691a

Browse files
committed
Merge branch 'main' into @mbert/react-deprecations
2 parents 7d40b2e + 1b7ab57 commit df4691a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/react-native-gesture-handler/src/components/Pressable

packages/react-native-gesture-handler/src/components/Pressable/Pressable.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,10 @@ const Pressable = (props: PressableProps) => {
314314
} else {
315315
stateMachine.handleEvent(StateMachineEvent.CANCEL);
316316
}
317-
handleFinalize();
317+
318+
if (Platform.OS !== 'ios') {
319+
handleFinalize();
320+
}
318321
}
319322
}),
320323
[stateMachine, handlePressOut, handleFinalize]

0 commit comments

Comments
 (0)