brave/brave-browser

Double click and drag doesn't work for text highlighting in PDFs

Open

#51144 opened on Nov 30, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (16,194 stars) (2,164 forks)batch import
OS/DesktopOS/Linuxfeature/pdfhelp wanted

Description

Description

Double click and drag in PDF files doesn't work.

Steps to reproduce

  1. Open a PDF file in the browser
  2. Double click on a word and drag the mouse to select a few words

Actual result

Only the first double clicked word is highlighted

Expected result

It should highlight text to the place of mouseup

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave 1.84.141 Chromium: 142.0.7444.176 (Official Build) (64-bit) Revision dbdb1336cf66d49f25b189868cad563426d4346d OS Linux

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Contributor guide