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

Debounce search-as-you-type in post selector #152

Open
mboynes opened this issue Apr 24, 2023 · 0 comments
Open

Debounce search-as-you-type in post selector #152

mboynes opened this issue Apr 24, 2023 · 0 comments
Assignees

Comments

@mboynes
Copy link
Contributor

mboynes commented Apr 24, 2023

In the post selector, searches happen immediately (after the 3rd character), which can cause many unnecessary requests. The search REST API endpoint can be quite slow if there's a lot of content on the site, so this could end up being a significant issue. It would be great to debounce this so the search doesn't happen until the user stops typing for 2-3 seconds.

See GIF below.

debounce

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

No branches or pull requests

2 participants