The search box is acting pretty weird
Summary
The search box is behaving pretty strangely. You can't use the keyboard exclusively (which destroys the speed/workflow of having keyboard shortcuts to focus the search box, in the first place). The "jump to" options may be displayed and never dismissed. And there's some odd "clear" (X buttons) behavior.
Steps to reproduce
-
Enter the search textbox (either by mouse or keyboard shortcut) and type some text; matches appear below. You cannot use the keyboard say, the
UpandDownarrows thenEnter, as expected from other web apps to highlight and choose a result. The arrow keys only jump to the start/end of the textbox. You must use the mouse to pick a result. -
Press the
Escapekey to try to dismiss the results from the above search. The results disappear, but some other shortcut menu/options stay unfolded (I suspect these are the "jump to" options, per the masked text in the search textbox). This cannot now be dismissed (when you see it disappear in the GIF below, that's just the GIF looping back to the start). -
Enter text in the search box again and witness two separate "X" buttons in the textbox. Clicking either X removes the typed text but leaves the "jump to" options unfolded. Also, clicking the left one first clears the text and leaves the right one behind.
Relevant logs and/or screenshots
Results of GitLab environment info
Use the search box in the top/blue bar of gitlab.com.

