\n\nIs there any chance the InfiniteScroll component could let you set the root element for the observer? I believe that may be the problem.
\n
I'm pretty sure that's exactly the reason since InfiniteScroll
currently doesn't support custom root elements and defaults to the viewport.
-
Hello. Has anyone run across the issue where the infinite scroll component fails to execute fetch if it is inside a div with a set height and set to scroll? Everything works fine until the RowsPhotoAlbum component and other divs reach about 12000px in height (32in monitor). it then fails to respond with intersect=true. Is there any chance the InfiniteScroll component could let you set the root element for the observer? I believe that may be the problem. As the inside divs height exceed that of the viewport (default root) then intersect=false. I would appreciate any help. Below is a basic set up for what I have. This is part of a larger application so there may be other interactions.
|
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure that's exactly the reason since |
Beta Was this translation helpful? Give feedback.
I'm pretty sure that's exactly the reason since
InfiniteScroll
currently doesn't support custom root elements and defaults to the viewport.