sindresorhus/refined-github

`esc` should blur the current field #2413

fregante posted onGitHub

  1. Start typing a comment
  2. Press esc
  3. The field should be blurred (with blurAccessibly) unless the autocomplete popup is also open

Relevant code, it doesn't work.

https://github.com/sindresorhus/refined-github/blob/0b6c7330c21f8570519143ad3d0decc328d4db47/source/features/comment-fields-keyboard-shortcuts.tsx#L33-L45

Originally posted in https://github.com/sindresorhus/refined-github/issues/1905#issuecomment-479476885


Fund this Issue

$0.00
Funded

Pull requests