philc / philc/vimium

Vimium breaks scrolling with spacebar in PDFs

Open
#3,020 1 comment 0 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

Recently I started having an issue with viewing PDFs in Chrome, where spacebar would not scroll the PDF until I pressed space once, then clicked in the PDF. Before clicking inside the PDF, Vimium shortcuts work (e.g. >> to move the tab), but once the PDF is clicked to make scroll-with-spacebar work, Vimium shortcuts stop working.

Disabling Vimium fixes the issue, so for now I've added an exclude rule for *\.pdf.

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 by reproducing the issue in Chrome with Vimium enabled and a PDF open, comparing behavior before and after clicking inside the PDF and with Vimium disabled. Trace the input and focus handling involved in PDF pages; done means the spacebar scrolls the PDF while Vimium shortcuts continue to work.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.