Skip to content

Keep PDF pages painted through zoom redraws - #39

Merged
bebraw merged 1 commit into
mainfrom
fix/pdf-post-zoom-flash
Nov 19, 2026
Merged

bebraw merged 1 commit into
mainfrom
fix/pdf-post-zoom-flash

Conversation

@bebraw

@bebraw bebraw commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Keep the last painted PDF frame visible when continuous and two-page layouts resize after zooming.
  • Render the replacement canvas and text layer offscreen, then swap the frame with its links and highlights once ready.

Verification

  • Reproduced the disappearing frame with a delayed PDF.js render and added regression coverage.
  • Verified the browser rendered no blank frames and held the pinch position on a scrolled page.
  • npm run ci:local passed all 123 browser tests in an isolated checkout with an alternate test port.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
kirjolab e1970e1 Nov 19 2026, 07:48 AM

@bebraw
bebraw merged commit 7e8bc53 into main Nov 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant