react-virtualized icon indicating copy to clipboard operation
react-virtualized copied to clipboard

Row heights do not update after using placeholder

Open HarryBrooks opened this issue 2 years ago • 1 comments

Hi,

I am using the List component with autosizer, cell measurer and cache and all works brilliantly (thanks for developing this, its amazing!).

However, my issue arises when I use a placeholder due to the amount of data I'm loading in. After the placeholder has been used, I need to update the height of the row in the list, but I can't find the best place to clear the cache (for a row or the entire list). It generally ends with an infinite loop. I suspect this is a lack of understand on my part, but would you be able to advise me on where I should be calling cache.clear() or cache.clearAll(), as I feel that would solve my issue.

Thanks!

HarryBrooks avatar Oct 04 '21 10:10 HarryBrooks

Also having this issue, did you find a solution?

AaronMcCloskey avatar Nov 02 '21 10:11 AaronMcCloskey