-
Notifications
You must be signed in to change notification settings - Fork 260
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
Sometimes it renders blank rows #74
Comments
Let me see your screen snapshot, plz |
Is is the same with issue #66 ? |
You can set numberOfSectionPoolSize or numberOfCellPoolSize to solve your problem |
Thank you, as you can see in the screenshoot within 2 scroll a section appear and disappear, It seems that setting numberOfSectionPoolSize to the number of my section do the job on the simulator but on an iPhoneX scrolling too fast down and up it leads to weird things like the most top section doesn't have rows, multiple rows with the same text and app crash :( i tried also with numberOfSectionPoolSize to the number of rows in total Thanks |
try to set numberOfSectionPoolSize to 15 |
Ok is better, but scrolling down and up the app crash with this error: undefined is not an object (evaluating 'e.sectionsInSections[t].info') it seems that numberOfRowsInSection or renderItem/renderSection are passing a not valid section index? thank you |
Do you change your data source ? If you did, you must call reloadData. see the docs,plz |
the data source is not changed, if i add this code, to debug the problem, it yields -1 some times
|
Maybe it is a bug. I'll fix it right row. You can return 0 if section === -1 for this version. |
Thank you @bolan9999 ! i want also to report that if you scroll programmatically using
and then
it leads to some not updated sections or blank rows |
I have tried, and there is no problem on scrollToIndexPath. How do you operate? More information need! Scrolling must action after LargeList finish initializing. |
No response for 4 days,closed |
Hi,
i'm trying to use this library because i have a large list so.. at first glance i was perfect and really fast, but when i scroll at the bottom of the list i see some blank rows.
this is my code:
renderItem2 and renderSectionHeader2 only returns a and this.ITEM_HEIGHT is 40.
Don't know if this is important but LargeList is wrapped inside this component https://github.com/skv-headless/react-native-scrollable-tab-view
Thank you
The text was updated successfully, but these errors were encountered: