"New epic" text box does not focus automatically

Summary

When adding a new epic via the Group's Epics view, the text box does not focus automatically and the user has to click into it.

Steps to reproduce

  • Visit a group's Epics view.
  • Click "New epic" button
  • Title text box is not focused.

What is the current bug behavior?

Title text box is not automatically focused.

What is the expected correct behavior?

Title text box should be automatically focused so the user doesn't have to click into it.

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Nov 21, 2019 by charlie ablett
Assignee Loading
Time tracking Loading