software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.14k stars 984 forks source link

crashes on 0.76 #3206

Closed philipheinser closed 2 weeks ago

philipheinser commented 3 weeks ago

Description

crashes on 0.76

Screenshot 2024-11-09 at 18 09 25

Steps to reproduce

  1. setup a new arch project with react navigation 7 and use gesture handler on a screen
  2. navigate to that screen

Snack or a link to a repository

https://snack.expo.dev/@philipheinser/gesturehandler076?platform=ios

Gesture Handler version

2.20.2

React Native version

0.76.0

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

ecohotels commented 3 weeks ago

Same issue here

j-piasecki commented 3 weeks ago

Hey! I checked your repro but it seems to be working (after upgrading to SDK 52 which supports React Native 0.76). You've specified React Native (without Expo) in the issue, could you prepare a reproducer without using Expo then?

Also, are you using StrictMode in your app? If so, then we're aware of the fact that it crashes on iOS on the new arch - some operations are executed in the wrong order. I believe @m-bert is investigating that one.

philipheinser commented 3 weeks ago

@j-piasecki Yes we are using strictmode

m-bert commented 2 weeks ago

Hi @philipheinser! If that's the case I'm closing this one as we already have this issue. We will post update under #3184 when we find something.