-
-
Notifications
You must be signed in to change notification settings - Fork 992
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Before you start - checklist
- I followed instructions in documentation written for my React-PDF version
- I have checked if this bug is not already reported
- I have checked if an issue is not listed in Known issues
- If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
When using the recently added pageColors prop to override PDF text/background colors, I see intermittent white flashes while scrolling through pages.
Screen.Recording.2026-02-23.143828.mp4
Steps to reproduce
- Go to https://zathura.downpogo.workers.dev
- Open a PDF by pressing
o - Scroll through the PDF
Here's the code
Expected behavior
Pages should keep the configured pageColors continuously while scrolling, without flashing white between renders.
Actual behavior
While scrolling, some pages briefly flash white before returning to the configured colors.
Additional information
No response
Environment
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working