Closed ElmoJones3 closed 3 weeks ago
FWIW the only patch that looks relevant here is
https://github.com/bvaughn/react-virtualized/pull/1288/files
which appears to modify the logic that handles scrollTop
position - freezing the dependency at 9.21.0 eliminates the issue.
Do you want to request a feature or report a bug?
Report a Bug
What is the current behavior?
First off - love this library thanks for all the hard work!
In Chrome Version 75.0.3770.142, filtering records fed to a Virtualized List when using AutoSizer and WindowScoller scrolls the screen an arbitrary distance, and requires re-scrolling to re-adjust its render logics.
This virtual list has been in production in this configuration for ~3months, so the behavior has just recently begun if that's helpful. I've attached a GIF and Screen Recording
GIF:
Video Recording: https://cl.ly/bf3c8c7d0eed
Without exposing too much, I have made sure to pass
style
correctly (common issue in these bug reports), and my use of WindowScroller is pretty barebones (pasted below):What is the expected behavior?
The virtuallist should re-render the latest data set without the scroll to behavior.
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?
This worked flawlessly up until a week ago. Would like to know if there are breaking changes or something I missed, or if anyone else has seen this issue.
Thanks!!!