Labels control is not focused on "Edit" click

Summary & Steps to reproduce

  • When an issue has many labels
  • And user clicks on "Edit" link in labels block
  • Then Label input field is not focused and not visible on the screen.

Expected: Label input should be automatically focused and visible on the screen.

  • When an issue has many labels
  • And user clicks on "Edit" link in labels block
  • And user scrolls down to see label input
  • When user starts to type label name
  • Then Screen refocuses
  • And user can't see part of label edit controls.

Expected: Label input controls should stay on the screen when user types, so user can choose option they need without scrolling.

See recorded video: labels_bug

Example Project

See example issue: #31528 (closed)

Edited by Pavel Shutsin