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

Slow with big list #18

Closed
edx-mohamed-khamis opened this issue Feb 4, 2021 · 2 comments
Closed

Slow with big list #18

edx-mohamed-khamis opened this issue Feb 4, 2021 · 2 comments

Comments

@edx-mohamed-khamis
Copy link

Hi there I tried this plugin with nearly 600 item in the list it takes almost 10 seconds to open the dialog box and it's slow while scrolling. UI is perfect but I couldn't use it because it was slow

@CHB61
Copy link
Owner

CHB61 commented Feb 15, 2021

Hello, thanks for bringing this up.

With 10,000 items it took nearly a minute to open the dialog!

Using a ListView.builder solves this. I'll be releasing this fix shortly.

Unfortunately I don't know of a great way to use ListView.builder if you wanted to use a chip style list that wraps. Currently it's a Wrap widget in a SingleChildScrollView.

Using a GridView is the closest I can get, but this changes the UI too much by putting list items in columns and rows. Ex.

drawing

So for now I'll be able to apply the fix for the regular checkbox-style list only and if you have a large list, you'll need to use that.

@CHB61
Copy link
Owner

CHB61 commented Feb 15, 2021

@khamisEDX Fixed in v3.1.8 (except when using MultiSelectListType.CHIP).

Closing this for now.

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

2 participants