question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Re-measure on height change

See original GitHub issue

Hi @tannerlinsley, is there a way to re-measure a row height when it changes? I have a virtualized list with truncated descriptions that can be expanded, and I tried to recreate a similar use case in the sandbox and it seems the only way to remeasure would be either scrolling or change estimateSize memoization.

Here’s the example, when you click one of the rows, its height change and they start to overlap. May-09-2020 10-33-34

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
patygonsalvescommented, Sep 4, 2020

I have the same problem

2reactions
tannerlinsleycommented, May 9, 2020

For now it is. If it becomes a pain and you’d rather have a function like virtualizer.measure() we can discuss that later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re-measure on height change · Issue #11 · TanStack/virtual
Hi @tannerlinsley, is there a way to re-measure a row height when it changes? I have a virtualized list with truncated descriptions that...
Read more >
Did You Know That Your Height Varies Over the Course of a ...
Height isn't normally remeasured with any great frequency for adults because it usually stops changing by about age 20 – until old-age ...
Read more >
Remeasure NestedScrollView height after adding a new view
I have a NestedScrollView that inside of it contains multiple CardViews . The last card in the list has a button that when...
Read more >
Everyone who lost or gained inches due to height rule change
As of October 18, here are the players who have had their official height changed. Atlanta Hawks: John Colins: from 6'10” to 6'9″....
Read more >
Complete List of NBA Player Height Changes and Updates
The NBA now requires all players to be remeasured to verify their height. Here is a complete list of all of the updated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found