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

Change autosuggest dropdown to only appear if something was found and… #5

Open
wants to merge 3 commits into
base: stable
Choose a base branch
from

Conversation

PuetzD
Copy link

@PuetzD PuetzD commented Mar 4, 2021

… close it again if there were no more hits

Otherwise it will render an empty dropdown and since the response contains linebreaks you can't hide it with css (at least I think so)

This should make it so the empty dropdown is never displayed and no hits actually hides it, however there might be a better way to do this, please review

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

Successfully merging this pull request may close these issues.

2 participants