Skip to content
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

When displaying the list, it will appear item by item, rather than all on one page #916

Open
pmj100 opened this issue Sep 15, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@pmj100
Copy link

pmj100 commented Sep 15, 2023

React-native 7.2.1
flashList 1.6.1

When the list is displayed, it will appear item by item instead of all pages. I hope that the first page will not appear item by item when the first page is displayed, which will look very awkward

@pmj100 pmj100 added the bug Something isn't working label Sep 15, 2023
@Deryan98
Copy link

+1

@CarlMenke
Copy link

Is your estimatedItemSize a good average of the components you're using in the renderItem? having this calculation to large can cause this behavior.

@pmj100
Copy link
Author

pmj100 commented Oct 31, 2023

The size of the data returned by the back-end cannot be estimated

@pmj100
Copy link
Author

pmj100 commented Oct 31, 2023

Is your estimatedItemSize a good average of the components you're using in the renderItem? having this calculation to large can cause this behavior.

The size of the data returned by the back-end cannot be estimated

@CarlMenke
Copy link

Is your estimatedItemSize a good average of the components you're using in the renderItem? having this calculation to large can cause this behavior.

The size of the data returned by the back-end cannot be estimated

estimatedItemSize refers to the height of each of the items that are rendered in the list, not the length of the list.

@pmj100
Copy link
Author

pmj100 commented Nov 3, 2023

Is your estimatedItemSize a good average of the components you're using in the renderItem? having this calculation to large can cause this behavior.

The size of the data returned by the back-end cannot be estimated

estimatedItemSize refers to the height of each of the items that are rendered in the list, not the length of the list.

The height of the item is not fixed, it may be dynamic, how to provide this height

@a-eid
Copy link

a-eid commented May 9, 2024

@CarlMenke is there a way to have estimatedItemSize be dynamic depending on the item index ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants