Skip to content

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

@cmarabate

Description

@cmarabate

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions