-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Open
Labels
Component: FlatListComponent: RefreshControlResolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
Description
When navigating from a Stack.Screen to another Stack.Screen with FlatList inside, if we handle to load data on focus (which will change refresh property of FlatList to true), the Refresh control of FlatList will be freezed
Steps to reproduce
Reproduce using Snack.expo: https://snack.expo.dev/@zaffran/refreshflatlist
Inside Detail screen, we have 2 buttons: Go back
using Pressable
inside screen, and @react-navigation
's Header.
If Go back
, the refreshControl element will be stuck (black bar above list), otherwise works normally
React Native Version
0.80.2
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of npx @react-native-community/cli info
N/A
Stacktrace or Logs
A UIRefreshControl received offscreen beginRefreshing
MANDATORY Reproducer
https://snack.expo.dev/@zaffran/refreshflatlist
Screenshots and Videos

Metadata
Metadata
Assignees
Labels
Component: FlatListComponent: RefreshControlResolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)