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

Results are not hidden when clicking outside of search box or when removing text from search box. #1

Open
cmarabate opened this issue Jul 9, 2020 · 0 comments

Comments

@cmarabate
Copy link

cmarabate commented Jul 9, 2020

Current behavior
When I type in the search box the results appear under it but they do not go away unless you press the ESC key.

Minimal example
codesandbox.io/s/peaceful-chebyshev-1g1oj

Expected behavior
I expect the results to go away whenever I click outside of the search box and to re-appear when I click back inside of it. I also expect the results to go away if I remove what was typed into the search box but that just makes all possible results appear. The only way to currently make the results go away is to press ESC which I doubt many of my visitors will know about.

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

1 participant