New issue
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
Sectionlist not loading all item at once #32519
Comments
This comment has been minimized.
This comment has been minimized.
I am facing the same situation as well.
I also use
Base on the |
@Ray-Frost Did You fix it? |
same issue |
@anastely I temporarily skipped it by setting |
I had the same issue where sometimes a section list would render only the first 10 items (section headers + footers included). Eventually I found out that this happened because react native’s |
Hi guys I encountered the same issue in one of my projects. After some while of digging and googling I find a solution inside the docs... First you should check if you have looped animations because they may block your list to render all rows. |
Has anyone have any idea how to resolve the Section list not loading all items at once issue because I am facing some time same issue. Also, I am trying to define initialNumToRender props but not resolved & I am not used to drawer navigation. "@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/core": "^6.3.0",
"@react-navigation/material-top-tabs": "^6.3.0",
"@react-navigation/native": "^6.0.12",
"@react-navigation/native-stack": "^6.9.1",
"@react-navigation/routers": "^6.1.2", |
In your case since you have some content before the SectionList it might be just the height of it, try changing it to 70% and see if the problem still remains. In my case this was the problem. |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
I have managed it by using react-native-section-list-get-item-layout . assignned height for each items getItemLayout = sectionListGetItemLayout({
done(rowData, sectionIndex, rowIndex){ return height; // height is static one |
Description
I am using section list with initialNumToRender = All data length in all section, but it not rendering all item at once
sometime it render half or some time it render more and showing extra scroll
need help of this
Version
0.64
Output of
react-native info
OS: macOS 11.5.2
CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
Memory: 17.10 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.22.6 - /usr/local/bin/node
Yarn: Not Found
npm: 6.14.15 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
Languages:
Java: 11.0.12 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.64.0 => 0.64.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
It replicate with any section list with more items, In my case case total 20 section are there and total 142 items are there
Snack, code example, screenshot, or link to a repository
<SectionList
sections={this.props.OrderData}
ref={(s) => (this.sectionList = s)}
stickySectionHeadersEnabled={true}
removeClippedSubviews={false}
The text was updated successfully, but these errors were encountered: