Pressing r does not focus on the comment textarea in MRs/Issues/Epics for the first time
Summary
Pressing r
shortcut (https://docs.gitlab.com/ee/user/shortcuts.html#issues) on issuables used to take users to start writing comment directly. Now, you'd have to click once on the textarea, then you can start pressing r
again.
Steps to reproduce
- Open any issue/MR/epic
- Press
r
- Nothing would happen (bug)
- Click on the comment's textarea
- Press
r
again - The textarea will be focused (intended)
What is the current bug behavior?
Pressing r
does not focus on the comment's textarea on the first try.
What is the expected correct behavior?
Pressing r
should focus on the comment's textarea on the first try.
Relevant logs and/or screenshots
Screen_Recording_2023-03-27_at_12.53.15_PM
Output of checks
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
Edited by Gregorius Marco