[Android] bottom-sheet animations not working when device animations are off after upgrading to version 3.16.1
yasir6jan opened this issue · 2 comments
yasir6jan commented
Description
I have implemented a simple BottomSheet using gorhom/react-native-bottom-sheet library. I upgraded the react-native-reanimated version from 3.4.0 to 3.16.1 and the bottom sheet stopped showing when the device animations are off on Android.
I have switched off the Window animation scale, Transition animation scale, Animator duration scale from the developer settings.
```
"@gorhom/bottom-sheet": "5.0.5",
"react": "18.3.1",
"react-native": "0.76.1",
"react-native-gesture-handler": "2.20.2",
"react-native-reanimated": "3.16.1"
[animations_off.webm](https://github.com/user-attachments/assets/ebef5eaa-9c6f-4534-8349-6ff44d3fad13)
[animations_on.webm](https://github.com/user-attachments/assets/cef2bfb6-04b6-490b-a00c-98381d81f06c)
### Steps to reproduce
1. Clone the repo and run App.tsx
2. At first the bottom sheet will come smoothly
3. Turn off the Window animation scale, Transition animation scale, Animator duration scale from the developer settings.
4. Now the bottom sheet will not come
### Snack or a link to a repository
https://github.com/dream-sports-labs/reproducer-react-native/tree/chore/reanimated-animation-off-issue
### Reanimated version
3.5.4, 3.14.0, 3.15.0, 3.16.1
### React Native version
0.72.5, 0.76.1
### Platforms
Android
### JavaScript runtime
Hermes
### Workflow
React Native
### Architecture
Paper (Old Architecture)
### Build type
Debug app & dev bundle
### Device
Real device
### Device model
_No response_
### Acknowledgements
Yes
github-actions commented
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?