mozilla / mozilla/pdf.js

[Feature]: Auto-update ToC/Outline item while scrolling

Open
#21,422 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature requires-feedback-from-ux-ui viewer
Dominant language
JavaScript
Stars
53.9k
Forks
10.7k
Avg merge
18h 38m
Merged PRs (30d)
130

Description

Is the feature relevant to the Firefox PDF Viewer?

No

Feature description

When working with long or complex documents, I find it difficult to keep track of my current location within the Table of Contents.
It would be a great quality-of-life improvement if the Table of Contents could automatically highlight the active section/chapter as I scroll through the PDF.

Thanks!

Other PDF viewers

Okular and Sumatra PDF implement similar functionality.

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

No file, test, or entry point is named. Start by locating the PDF viewer's Table of Contents/Outline UI and document scrolling behavior, then clarify how the active section should be determined and highlighted; done means the current chapter remains visibly selected while scrolling through long documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.