[Android] useScrollViewOffset not updating with Animated.FlatList RefreshControl #5777
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
On Android, when the
onRefresh
andrefreshing
props are specified in anAnimated.FlatList
withuseScrollViewOffset
, the offset value does not get updated. When the props are commented out, the hook works as expected. This also works as expected on iOS.Screen.Recording.2024-03-10.at.12.37.39.PM.mov
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/@jcalem/android---usescrollviewoffset-with-refresh
Reanimated version
3.3.0
React Native version
0.72.10
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo Dev Client
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
Real device
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: