Closed meotimdihia closed 1 month ago
i have the same problem
I had the same bug.
But in my case, Adding registerChild
prop was helpful.
<WindowScroller>
{({ height, isScrolling, onChildScroll, scrollTop, registerChild }) => (
<AutoSizer disableHeight>
{({ width }) => (
<div ref={registerChild}>
<List
...
https://github.com/bvaughn/react-virtualized/blob/master/docs/WindowScroller.md#render-props
Bug Report
Scroll restoration doesn't work with AutoSizer. This is my code: **rowCount is changed because it's an infinite scroll list.
Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?