Callbacks are not working while reduceMotion is active #6714
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
We have some state changes that are covered by animations, for example the following scenario:
The second step should wait for the first step to be done, so we run it inside the callback function of the animation.
Now the problem is, if the user doesn't want to see the animations, Reanimated will not run the callback too, so the users with accessibility feature of reduceMotion will be blocked and will not be able to use the app.
Callbacks should be ran anyways, and reduceMotion should only make the animation blink to the final state only.
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/@kolahzary/react-native-animated-reducemotion-bug
Reanimated version
^3.16.1
React Native version
0.75.3
Platforms
Android
JavaScript runtime
None
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
None
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: