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

Return focus to search input after closing autocomplete dropdown #8161

Commits on Jan 17, 2017

  1. 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).
    evktalo committed Jan 17, 2017
    Configuration menu
    Copy the full SHA
    0f53f67 View commit details
    Browse the repository at this point in the history