### Before you start - checklist - [x] I followed instructions in documentation written for my React-PDF version - [x] I have checked if this bug is not already reported - [x] I have checked if an issue is not listed in [Known issues](https://github.com/wojtekmaj/react-pdf/wiki/Known-issues) - [x] If I have a problem with PDF rendering, I checked if my PDF renders properly in [PDF.js demo](https://mozilla.github.io/pdf.js/web/viewer.html) ### Description When using the recently added `pageColors` prop to override PDF text/background colors, I see intermittent white flashes while scrolling through pages. https://github.com/user-attachments/assets/2a82e164-558b-43d8-b47e-8329ebf021e2 ### Steps to reproduce 1. Go to https://zathura.downpogo.workers.dev 2. Open a PDF by pressing `o` 3. Scroll through the PDF Here's the [code](https://github.com/downpogo/zathura/blob/20079f1d86d87dc422fc3dd92d1c7455718e0147/src/components/PDFViewer.tsx#L262) ### 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_
Before you start - checklist
Description
When using the recently added
pageColorsprop 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
oHere's the code
Expected behavior
Pages should keep the configured
pageColorscontinuously 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