RNGH RefreshControl on Android causes unexpected behavior in other RNGH components #2353
Unanswered
dorbaruch2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!

I'm using RNGH FlatList and ScrollView to create a scrollable list of items inside tabs view. All the components I use (FlatList and ScrollView) are imported from RNGH.
When I use the native RefreshControl pull-to-refresh stops working, but the interaction between the FlatList and the tabs ScrollView works as expected, allowing the user to only scroll one of the them at a time, as can be seen here:
To make the pull-to-refresh functionality to work I tried using RefreshControl from RNGH. When doing so, on Android the interaction between the list and the tabs breaks and both can be scrolled at the same time. In addition, the cards in the list are also pressed while scrolling:

The only solution I found to this was to create my own custom RefreshControl component, which is not ideal since it's pretty hard to get it to look as nice as the native one.
Did anyone encounter this issue and found any workarounds?
Beta Was this translation helpful? Give feedback.
All reactions