internetarchive / internetarchive/bookreader

Double-tap to zoom to paragraph width

Open
#1,587 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
491
Avg merge
2d 15h
Merged PRs (30d)
3

Description

A common feature of web browsers is that double-tapping on a made-for-desktop website zooms so that the tapped element fills the screen. We can enable a similar behaviour in BookReader using the text layer to set the zoom to the width of the tapped paragraph, making for a consistent experience that makes reading on mobile easier.

Contributor guide

Open the contributing guide

Research direction

Start by locating the BookReader text-layer handling and the existing zoom and tap interaction entry points. Implement the described double-tap behavior for a paragraph and verify that the tapped paragraph fills the screen consistently on mobile.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.