Wrong input receives focus when "Labels" input is below the fold
Summary
On the Issue page, in the "Label" area in the sidebar, the link to "Edit" can be above the fold while the actual input can be below the fold. In this case, clicking the "Edit" link and typing causes text to appear in the "Assignee" input. This is similar to #276086 (closed) except only applies when the "Label" area crosses the "fold" at the bottom of the window.
Steps to reproduce
- On this issue page, adjust the window size so the "Label" area in the sidebar is cut off at the bottom of the window (the "fold").
- Click the "Edit" button in the "Label" area.
- Start typing a label name.
- See the text you're typing appear in the
"Assignee" inputdescription input (this behavior changed sometime between 2020-12-09 and 2021-03-25).
What is the current bug behavior?
Text typed for "Label" appears for "Assignee" description.
What is the expected correct behavior?
Text typed for "Label" appears for "Label".
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Edited by Dan Jensen