bvaughn / react-window

React components for efficiently rendering large lists and tabular data
https://react-window.now.sh/
MIT License
15.49k stars 778 forks source link

Blanks appear on fast scrolling in react 18 use createRoot #761

Open boris-w opened 3 months ago

boris-w commented 3 months ago

I upgraded the react in the example to 18 and used createRoot instead of ReactDOM.render, and then there is a noticeable blank area when scrolling quickly. Here's my example: https://codesandbox.io/p/sandbox/suspicious-black-nwhqkr?file=%2Findex.js%3A13%2C8

kevinhaas commented 2 months ago

This issue has existed since at least 2020 looking back, and I also ran into it. None of the issues were properly resolved.

Just use this as it's actively maintained. I did a clean swap and don't have flashing content anymore.

parth-chovatiya commented 2 months ago

I was also getting this issue. Is there any way to fix this..?