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

Performance issue when scroll has 1000 items and more #21

Open
davut opened this issue Jan 27, 2021 · 3 comments
Open

Performance issue when scroll has 1000 items and more #21

davut opened this issue Jan 27, 2021 · 3 comments

Comments

@davut
Copy link

davut commented Jan 27, 2021

Here is my code:

Grid(store.state.categories, id: \.id, tracks: 2) { category in
      SectionView( text: category.name)
}.gridContentMode(.scroll)

When I do it with List there is no issue, no lags. Would be happy if you can let me know if there is something that I missed.

Thanks

@denis-obukhov
Copy link
Collaborator

Grid is based on ZStack view. Right now there is no ability to calculate layout for items by the order they appear. Items are created all at once.

@Majekdor
Copy link

Yeah I was really excited to find and start using this library, but with this issue the library is unusable in my app.

@kiecooboi
Copy link

Any updates about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants