Skip to content
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

[Android] bottom-sheet animations not working when device animations are off after upgrading to version 3.16.1 #6765

Open
yasir6jan opened this issue Nov 27, 2024 · 2 comments
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@yasir6jan
Copy link

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 github-actions bot added Platform: Android This issue is specific to Android Missing repro This issue need minimum repro scenario labels Nov 27, 2024
Copy link

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?

@yasir6jan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

1 participant