bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data

Home Page:http://bvaughn.github.io/react-virtualized/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The virtual list is constantly shaking.

october-rain opened this issue · comments

Bug Report

What is the current behavior?

The virtual list is constantly shaking.

vitrual.list.shake.mp4

What is the expected behavior?

i think the list should be stable.

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?

Browser 109.0.5414.119
OS MacOS
React 18.2.0
React DOM 18.2.0
react-virtualized 9.22.3

this bug is because of the Inner container of Grid Component, its position property value is 'relative'. And I use List Component which doesn't have containerStyle property like Grid Component as well.

so i think maybe we can offer containerStyle for List or change default position to 'static'.

commented

Thanks a lot!