philc / philc/vimium

Interrupts form input when hitting 'ESC'

Open
#3,397 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

During React App development,
I need to make sure my form input catches 'ESC' event, but Vimium is interrupting this process.

I have an input field

<input onKeyDown={(e)=>{
   if(e.key === "escape"){ console.log("escaped!")}
}}/>

But e.key is never called when I hit ESC. Turning off Vimium works.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied React input reproduction and investigate Vimium's handling of the Escape key while an input is focused. Confirm the behavior with Vimium enabled and disabled; done means the input receives its Escape keydown without requiring Vimium to be turned off.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.