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.

Dynamic row height with infinite scroll

See original GitHub issue

I’m unable to get dynamic row height to work nicely with infinite scroll. It’s flickering as you can see in the demo (click “Regenerate” if data does not appear at first).

I created this demo by taking https://autodesk.github.io/react-base-table/examples/infinite-loading example and adding estimatedRowHeight={50} and an additional column with a custom renderer which makes rows of different height.

Is there any easy way to make it work?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

3reactions
zlldnvcommented, Jan 13, 2021

@zorzysty I have also faced same issue and found the solution. Just make sure that you are using unique id for the each table row in your data.

0reactions
zlldnvcommented, Jan 25, 2021

@nihgwu I guess issue can be closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dynamic height with infinite scroll (react-virtualized)
I tried following the examples, but had no success. What is the correct way to calculate the true row height? It should be...
Read more >
Virtual + Infinite Scroll + Dynamic Row Heights Without ...
Virtual + Infinite Scroll + Dynamic Row Heights Without hardcoding + No Libraries + 50000+ items super smooth scrolling.
Read more >
JavaScript Data Grid: SSRM Row Height - AG Grid
If using Infinite Scroll, setting maxBlocksInCache will stop dynamic row heights from working. This is a restriction in the design. If you are...
Read more >
DataGrid - How to set dynamic height when the infinite ...
I have checked Demo. to enable infinite scrolling in grid control, However I noticed that I have to set fixed height of #gridContainer...
Read more >
Examples: Dynamic Row Height | BaseTable
Dynamic Row Height ; const defaultSort = ; { key: ; 'name', order ; SortOrder.ASC ...
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