Close popup label menu after return pressed on empt input
Problem to solve
Closing popup Labels/Select Labels is done with Escape key or "x" mark via mouse click.
The Return/Enter key press when input is empty could close the menu.
The use scenario is this:
- One types new label name and presses enter to add it
- The input is cleared for adding new label.
- Repeats for every label
- After last label added input is again empty
- Pressing Return/Enter could be last "command" in flow of adding labels (closing the Labels menu)
Users of gitlab using mostly keyboard to navigate