Skip to content

Dynamic recalculation of estimateSize #632

Discussion options

You must be logged in to vote

Sorry for the duplication. I found the answer to my question in the discussions. There is a workaround like this:

useLayoutEffect(() => {
  virtualizer?.measure?.()
}, [virtualizer, estimatedSize])

Maybe it will be easier for someone to find this using my keywords.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuriyDyachkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant