Before you start - checklist
Description
I can't show the loading prop in Page.jsx
I'm making the lazy pdf loading component now
our server team split pdf and gave me each pdf url
and I'm rendering each pdf with the intersection observer api
https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
Each component has react-pdf Document, Page component seperately
react-pdf has page and the pdf prop when my component intersect with the container component
so, flow can't enter to area that handle loading logic like below
is there way that i can clear pdf or page before intersect with new lazy load component?

Page.jsx
What should i do?
Steps to reproduce
Hmm.... I think it's hard to reproduce.....
Environment
I am facing the same problem. In my case, I use react-window to virtualize the list of pages. When the user scrolls the document, I want to show a blank page with the dimensions of the real page. To do this, I have to pass a style prop coming from react-window, with the absolute css values. However, it seems that the
@caiorios I'll keep that in mind. Thank you.
Most helpful comment
I am facing the same problem. In my case, I use react-window to virtualize the list of pages. When the user scrolls the document, I want to show a blank page with the dimensions of the real page. To do this, I have to pass a style prop coming from react-window, with the absolute css values. However, it seems that the component prevents me to do that.