We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatlist pull to refresh does not work on web. Works fine on Android and iOS.
Tested with: Browser: Chrome Device: Pixel 3 Expo SDK 35 React 16.8.3
Sample code snippets:
<View style={{flex:1}}> <PostsFlatList navigation={props.navigation} type={typeParam} reload={reloadParam} /> </View> const [refreshing, setRefreshing] = useState(false); const _handleRefresh = () => { console.log('called _handleRefresh') setRefreshing(true); setPosts([]); setPage(1); } <FlatList numColumns={Layout.columnCount} data={posts} ListHeaderComponent={_renderHeader} renderItem={_renderItem} keyExtractor={(item, index) => String(index)} onEndReachedThreshold={0.5} onEndReached={_handleLoadMore} refreshing={refreshing} onRefresh={_handleRefresh} removeClippedSubviews={false} maxToRenderPerBatch={15} updateCellsBatchingPeriod={100} initialNumToRender={6} windowSize={21} />
The text was updated successfully, but these errors were encountered:
Refresh control hasn't been implemented yet #1027
Sorry, something went wrong.
Duplicates #1027
No branches or pull requests
Flatlist pull to refresh does not work on web. Works fine on Android and iOS.
Tested with:
Browser: Chrome
Device: Pixel 3
Expo SDK 35
React 16.8.3
Sample code snippets:
The text was updated successfully, but these errors were encountered: