react-virtual-list icon indicating copy to clipboard operation
react-virtual-list copied to clipboard

Is it possible to set containerHeight 100% instead of a fixed size?

Open Shaked opened this issue 8 years ago • 2 comments

Hey,

Thank you for the plugin.

I am trying to create something like this example: https://shakedos.com/examples/list/pwa.php. I was wondering if it would be possible to set the containerHeight to 100% so that it will automatically fit the size that is required.

Not sure if it's interesting, but that's the reason I am trying to do that: https://stackoverflow.com/questions/45824080/memory-issue-with-long-lists-in-a-web-app

Thank you again, Shaked

Shaked avatar Sep 15 '17 22:09 Shaked

Hi @Shaked, I'll have to look into this and get back to you. Is there an example/codepen you might be able to provide showing your example scenario?

developerdizzle avatar Apr 18 '18 18:04 developerdizzle

This should "just work," except the resize handler might not get fired, right? As mentioned in #51.

mmontag avatar May 19 '19 19:05 mmontag