Skip to content

Conversation

@latekvo
Copy link
Member

@latekvo latekvo commented Feb 6, 2025

Description

Direct references of react JS-only functions and classes lead to reanimated crashes.
Converted those direct references into indirect calls, this fixes the crashes.

Fixes #3386

Test plan

  • use the Reanimated Drawer Layout example app to see how the props are now used without crashing the app.

@latekvo latekvo changed the title @latekvo/fix rea crashes in drawer layout Fix Reanimated crashes in ReanimatedDrawerLayout Feb 10, 2025
@latekvo latekvo requested a review from m-bert February 10, 2025 16:04
@latekvo latekvo merged commit 30e60e6 into main Feb 12, 2025
3 checks passed
@latekvo latekvo deleted the @latekvo/fix-rea-crashes-in-drawer-layout branch February 12, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ReanimatedError: [Reanimated] Trying to access property dismiss of an object which cannot be sent to the UI runtime., js engine: reanimated

3 participants