react-virtualized-listview icon indicating copy to clipboard operation
react-virtualized-listview copied to clipboard

Add support for dynamic heights

Open nishanbajracharya opened this issue 6 years ago • 1 comments

What the issue is

The virtualized list view only works for fixed heights when initialized. When the height of the container window is changed the list view does not account for the changed height.

Steps to reproduce

  • Create a list view component using the virtualized view.
  • Increase the height of the container window.
  • Scrolling and the virtualization only works for the initial height.

Possible solution

  • Add resize helpers to listen for container height changes and reinitialize the view.

nishanbajracharya avatar Jun 13 '18 06:06 nishanbajracharya

@nishanbajracharya The best bet I found is ResizeObserver but the browser support isn't good.

aviskarkc10 avatar Oct 24 '18 04:10 aviskarkc10