react-tiny-virtual-list
react-tiny-virtual-list copied to clipboard
A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
Compute totalSize and itemSizeAndPositionData at the start when using a fixed or array as itemSize
This PR implements a new property for `VirtualList` to allow pre calculation of the total height instead of running an estimate. Implements: #60. This feature is especially helpful when rendering...
I need to keep track of which items are visible outside of the `VirtualList` component. However, if I call `setState` in `onItemsRendered`, then React will correctly complain: ``` Warning: Cannot...
Hi @clauderic ,thanks for your great work. Recently , I've used tiny list to render a list that each item contains a different image . And there is a blink...
Hi, can you please implement a feature to allow scroll with pg down, pg up, home, end and arrows? Since the rows are rendered out of the DOM the focus...
Perf
Hi @clauderic, thanks for this library! I'm having a few performance issues which seem to be caused by `onScroll` triggering a setState which triggers a re-render. Here's a capture of...
I am using a custom prop to force my list to re-render, as recommended [in the readme](https://github.com/clauderic/react-tiny-virtual-list#common-issues-with-purecomponent). However, doing so causes me this warning: > Warning: React does not recognize...
When I learned `itemSize` can be a getter or array — I was hoping the array approach would help with the `getTotalSize` function and reduce the total height of the...
I am using this lovely component and have used the prop `scrollDirection="horizontal"`. However, I am also wanting to change the CSS prop `direction: rtl` so that the scroll direction begins...
Is it possible to use the window as the container element, so it increases the height of the main scrollbar, rather than having the table in a container with its...
In console: Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details. * Move data fetching code or side effects to componentDidUpdate. * If you're...