RefreshControl does not work properly with NativeStackNavigator and headerLargeTitle=true
See original GitHub issue“@react-navigation/native”: “5.0.8” “react-native-screens”: “2.1.0”
screenOptions={{
headerLargeTitle: true,
}}
Current behavior: RefreshControl partially hidden under header
Expected behavior (screenshot from iOS Mail app): RefreshControl is displayed on top of the header
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:28 (15 by maintainers)
Top Results From Across the Web
React Native ListView with refresh control doesnot work on ...
I am trying to test Listview with refresh control on Android. The pull to refresh works when the Listview contains only one row...
Read more >RefreshControl - React Native
This component is used inside a ScrollView or ListView to add pull to refresh functionality. When the ScrollView is at scrollY: 0 ,...
Read more >React Native Pull-to-Refresh: Make Refreshing Easy for Users
In this article, I'll first discuss what the pull-to-refresh function is before covering how you can implement it in a React Native app....
Read more >react-native-web-refresh-control | Yarn - Package Manager
An implementation of React Native's RefreshControl for web, since react-native-web currently does not provide one. react-native, react-native-web, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@WoLewicki ah, you’re absolutely right, was checking in
master
. Should be in the next release then. Thx for the hint.I tested it and it looks like applying this commit: https://github.com/facebook/react-native/commit/1b0fb9bead4d158d14df5a994423d06716b5e377 and setting the
translucent
header andcontentInsetAdjustmentBehavior=“automatic”
on your ScrollView (which are recommended options) makes theRefreshControl
work correctly. Can someone check it too?