Skip to content

Conversation

m-bert
Copy link
Contributor

@m-bert m-bert commented Aug 1, 2025

Description

#3646 removed animated native detector action type. However, now we have to pass dispatchesAnimatedEvents to gesture config, what was not done automatically. This PR fixes it.

Test plan

Tested on basic-example

@m-bert m-bert requested a review from j-piasecki August 1, 2025 09:39
@m-bert m-bert requested a review from j-piasecki August 1, 2025 13:15
onGestureHandlerAnimatedEvent: event,
onGestureHandlerEvent: (e: any) =>
console.log('onGestureHandlerEvent', e.nativeEvent),
onUpdate: event,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the best, but still better than example crashing on passing onGestureHandlerAnimatedEvent

@m-bert m-bert merged commit d23c225 into next Aug 4, 2025
1 check passed
@m-bert m-bert deleted the @mbert/automatically-assign-dispatchesAnimatedEvents branch August 4, 2025 07:54
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.

2 participants