bvaughn / react-window

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

glitching while using FixedSizeList, autosizer etc #697

Open elhedgie opened 1 year ago

elhedgie commented 1 year ago

hey, i've got a problem on Safari (both mobile and desktop) - some weird glithing of the list which is not fixing by any css rules. i've been searching for a solution for a few days and there was a case where guys forgot to use style prop. which is not my case. any thoughts? would be grateful

<AutoSizer className="virtualize-list">
     {({ height, width }) => (
      <FixedSizeList
        height={height}
        width={width}
        itemCount={children.length}
        itemSize={childrenHeight}
        itemData={children}
      >
        {({ data, index, style }) => <div style={style}>{data[index]}</div>}
      </FixedSizeList>
    )} 
  </AutoSizer>
elhedgie commented 1 year ago
Снимок экрана 2023-01-04 в 00 47 27

looks like this