Entering text into dropdowns early can initiate project shortcuts unexpectedly
Summary
Focusing the branch dropdown during a new Merge Request and pressing keys will start different actions depending on keys pressed.
Steps to reproduce
- Start a new MR
- Click on the Source Branch Dropdown, it gets focused
- Start typing for a branch name
What is the current bug behaviour?
Anything, depending on shortcut assigned to key
What is the expected correct behaviour?
Either focusing the input itself to let it handle the keyboard events or filtering the branches depending on keys/string entered. I see it as a simple fix but a much better UX for something used so often.
Relevant logs and/or screenshots
This bug happens on GitLab.com
Possible fixes
would like to help out but no idea where to start on gitlab frontend code
Edited by Mark Fletcher