bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.1k stars 3.05k forks source link

Using a function to determin column height & width and row height & width will not be recalled when row or columns change. #1766

Closed M1zuke closed 1 year ago

M1zuke commented 1 year ago

Bug Report

What is the current behavior?

When you display a grid with a function to determin the height and width of a column or row the function will not be recalled when the cells change.

What is the expected behavior?

I would expect the component to recall the function to get the width & height of columns and rows when the cells re-render or at least when column.length or row.length changes cause of prop changes.

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 Electron (Chromium)
OS Windows
React 17.0.2
React DOM 17.0.2
react-virtualized lastest