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

Pagefind UI: debounce user input? #105

Closed
bglw opened this issue Oct 24, 2022 Discussed in #104 · 3 comments · Fixed by #110
Closed

Pagefind UI: debounce user input? #105

bglw opened this issue Oct 24, 2022 Discussed in #104 · 3 comments · Fixed by #110
Labels
improvement Not a bug Pagefind UI The prebuilt Pagefind UI components

Comments

@bglw
Copy link
Contributor

bglw commented Oct 24, 2022

Discussed in #104

Originally posted by dprothero October 21, 2022
Is there a way to have the UI debounce the user input? It's really distracting to have search results showing up for every key press.

In other words, don't have the search actually execute until something like 300ms after the last key press.

@bglw bglw added improvement Not a bug Pagefind UI The prebuilt Pagefind UI components labels Oct 24, 2022
@dprothero
Copy link
Contributor

I'm taking a look at this right now.

@dprothero
Copy link
Contributor

@bglw I opened PR #110. Let me know what you think.

@bglw bglw added the Pending Release Work complete, but not necessarily released. label Oct 26, 2022
@bglw bglw closed this as completed in #110 Oct 26, 2022
@bglw bglw removed the Pending Release Work complete, but not necessarily released. label Oct 26, 2022
@bglw
Copy link
Contributor Author

bglw commented Oct 26, 2022

Released in v0.9.0 🙌 🎉 Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Not a bug Pagefind UI The prebuilt Pagefind UI components
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants