Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After closing the autocomplete dropdown by clicking away from it, ret…
…urn focus to the search input element. Otherwise the searchbox that was opened will not close when clicking away from it. You need to return the focus to it by clicking it again, and only then you can close it by clicking away from it. Steps to reproduce: Search something that gets some search result so that the autocomplete gets populated. Start searching for it again so that the dropdown opens. Click away (dropdown should close). Click away again (the search bar will not close, against user expectation).
- Loading branch information