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.

Bug with chat recipe (CellMeasurer + VirtualScroll)

See original GitHub issue

I know that this use case may not be 100% supported at the moment, but I noticed that as the amount of lines a CellMeasurer wrapped component has to render increases, the more likely it is to improperly calculate item heights.

For example resizing this recipe page to < 500px results in improper chat box heights:

screenshot 2016-08-05 17 49 02

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bvaughncommented, Sep 19, 2016

By the way, I’m closing this issue in favor of #401 (since this is kind of a separate, albeit related, issue from what was originally reported). Follow along there. 😄

0reactions
bvaughncommented, Sep 19, 2016

One annoying issue is that even if you have the “When scrolling” option set, sometimes chrome will show the scrollbars at all times anyway for some reason…

I’ve noticed that recently with Chrome as well.

is there even a way of knowing if the scrollbar will be rendered?

I use a combination of this library and this code in Grid. I don’t know of a better approach.

Read more comments on GitHub >

github_iconTop Results From Across the Web

scroll to bottom/row on react-virtualized with autosizer and ...
I am building a chat app and using react-virtualized to manage ... I am using Autosizer to fill the container div, and cellmeasurer...
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