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

Need support for search delay (debounce) #142

Open
farukaziz opened this issue Jun 17, 2021 · 4 comments
Open

Need support for search delay (debounce) #142

farukaziz opened this issue Jun 17, 2021 · 4 comments

Comments

@farukaziz
Copy link

Thank you for really helpful flutter package. I think there is an important feature missing which is debounce.
When user search in list it immediately invkoing the searchFn which is a performance issue.

It will be more helpful, if there is an option for setting a property for search delay like debounce:500 or delay:500 where 500 is milliseconds value.

@lcuis
Copy link
Collaborator

lcuis commented Jun 17, 2021

Hello @farukaziz ,

Would your request be fulfilled if you added a 500 milliseconds delay in the searchFn?

@farukaziz
Copy link
Author

If you add the search delay feature with package that would be great.

@farukaziz
Copy link
Author

Hello @farukaziz ,

Would your request be fulfilled if you added a 500 milliseconds delay in the searchFn?

Yes

@lcuis
Copy link
Collaborator

lcuis commented Dec 11, 2021

Hello @farukaziz ,

Since search_choices now supports Future searches for internet calls, it was even more important to support this delay request. searchDelay is a new parameter with version 2.0.16 of the search_choices plugin.

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