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

If inputSearchString is given, but component is not focused, the dropdown appears #103

Open
matteotrap opened this issue Jan 11, 2023 · 2 comments

Comments

@matteotrap
Copy link

Steps to Reproduce:

  • Create a ReactSearchAutocomplete
  • Provide an inputSearchString to the component
  • Do not focus on the input field

Expected Result:
The dropdown should not appear, as the input field is not focused
The dropdown should appear only if the component is focused.

Actual Result:
The dropdown appears despite the input field not being focused

@jwj777
Copy link

jwj777 commented Jan 20, 2023

When I enter a search and then click somewhere else, the drop-down disappears for me.

@lkretzschmar
Copy link

It disappears if you click elsewhere, but not if you Tab to the next field. The dropdown stays open.

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

3 participants