Search box loses focus while showing new results in the dropdown
Summary
While typing in the search box it attempts to show results in realtime in the dropdown. Unfortunately this results in the search box loosing focus and any further characters typed will end up in random places in the browser
Steps to reproduce
- Activate search box
- begin to type
- while typing quickly nothing happens (I guess there's a timeout to prevent excessive update requests)
- if typing slower / making short pauses in between two keystrokes the search box attempts to show search results in the dropdown
- when updating the dropdown the search box looses focus for a short period of time (focus is restored to the searchbox quickly after)
- if additional characters are typed in the time where the search box does not have focus they will trigger "random" actions in the browser (i.e. for me in Firefox 54.0.1 they will end up in Firefox's search box) which completely messes up whatever text one wanted to type.
Edited by Simon Knox