[Android] Scrolling performance degradation in development builds #7034
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
When using Reanimated's
useAnimatedScrollHandler
oruseScrollViewOffset
with scrollable components (FlatList/ScrollView), there's a significant performance degradation (stuttering) on Android, but only in development builds. The same code works smoothly in:This suggests the issue is specific to Android development builds with Reanimated, as the core Animated API implementation maintains smooth scrolling performance across all build types.
Steps to reproduce
Here's a complete reproduction with all necessary components:
Steps to reproduce:
Using Core Animated API (smooth on Android and Ios):
Snack or a link to a repository
https://github.com/NyoriK/scroll-test-app
Reanimated version
3.16.1
React Native version
0.76.7
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo
Architecture
New Architecture
Build type
Expo Development build
Device
Real device
Device model
Redmi Note 10 pro
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: