virtual-list
virtual-list copied to clipboard
🧾 React Virtual List Component which worked with animation
In [AutoSizer](https://github.com/bvaughn/react-virtualized/blob/master/source/AutoSizer/AutoSizer.js) The height pass to children will be 0 at first, and later to real height. and in List, if `height === 0`, `useVirtual` will be `false`. And virtual...
Platform: Windows 11 The demo on https://rc-virtual-list.react-component.vercel.app/ works with smooth scrolling on Windows. But the latest examples in this repo does not when running locally with `yarn start`
是否可以指定自定义滚动容器,容器内的其他dom虚拟不虚拟都可以,listItem保证正常虚拟即可
在 rc-table 中虚拟表格需要使用到
目前不传递 scrollWidth 也不能滚动外层容器,不太合理
在列表项不固定高度时,经常无法完整的展现整个列表而且滚动条会出现抖动 
``` const A = forwardref(prop,ref) => { const ref2 = useRef(); useImperativeHandle(ref,()=> ref2.current) return } ```
remove findDOMNode and used element instead issue to fix https://github.com/react-component/virtual-list/issues/259
为 tree 的 sticky 做支持 由外部传入需要 sticky 的 index,视频中 `stickyIndexes={[2, 4, 6]}` https://github.com/react-component/virtual-list/assets/47104575/76817096-9332-4e6c-ab4b-292470e92fc0