Keyboard shortcut with the `r` key does not work as expected
The regression
The regression was caused in this MR Add support for content editor in comments (!104463 - merged) this worked fine prior to that change
The problem
It's about the r key:
It only starts working as soon as you click inside the "comment box" at the bottom of an issue. From there, you can press the r key from anywhere in the page, and the focus will be on the comment box. I made a GIF of it, but unfortunately, the key presses aren't shown:
This problem happens in the old and new nav alike.
Note: See This comment from @johnhope
@samdbeckham @cdybenko Wanted to give a heads-up so whoever fixes this doesn't also go down some dead-ends. I tried to fix this feature spec related to the
rshortcut and ended up giving up -> Flaky spec: "Epic shortcuts pressing "r" quotes... (#11057 - moved) I suspect it may not be an issue with the spec but flakiness in the code itself. This issue would seam to indicate it might be! While investigating, could the assigned engineer keep an eye out for this? It's likely to be a small piece of code that could easily be rectified. Allrshortcut specs are currently quarantined so we could unquarantine them all! Needless to say, they should also take care writing a feature spec to cover the functionality in this issue. It just seems to be really tricky.

