-
-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application crash on item interaction #455
Comments
Seeing a similar issue with a non-nested draggable FlatList. After manipulating some elements, the app freezes either while the element is in drag or when it locks in a position. Cannot reproduce this without random gestures. @RobertWHurst how are you getting these logs? When the application crashes in my case, I am not seeing any error logs at all. Platform & Deps Happening on iOS on Expo 46.0.19 and RN 0.69.6
|
@andranikm97 Indeed, the react-native cli does not output this trace. I got this from |
@RobertWHurst thanks! Got some logs from
Unfortunately no useful native logs from Xcode's console. |
Any updates on this issue? |
So i did some debugging into this issue and it seems the issue is with the GestureDetector handler. See the following commit on a fork i created 429da79 If i run the gesture handler on the JS thread, i cant seem to repeat the crash. Alternatively i had a go at replacing the Gesture.pan() with useAnimatedGestureHandler, and this also seemed to resolve the issue, however i lost some functionality around hitSlop and onTouches... events. Not sure if this is an issue with react-native-gesture-handler itself when its using reanimated, or this libraries usage of it. |
Describe the bug
I'm rendering a list of items using NestableDraggableFlatlist. When a press is begun over a list item the application crashes with the following backtrace:
To Reproduce
Platform & Dependencies
Please list any applicable dependencies in addition to those below (react-navigation etc).
The text was updated successfully, but these errors were encountered: