virtual-list
virtual-list copied to clipboard
🧾 React Virtual List Component which worked with animation
### Intro I wanna change the background of thumb, but this style is an inline style so that I can't rewrite it. https://github.com/react-component/virtual-list/blob/00915b476d8f7a47db851ecd78bce842ddb4f8dd/src/ScrollBar.tsx#L209-L227
我在dropdownRender中添加了Spin,dropdownRender={(menu) => {menu}} 展开下拉框后将滚动条向下滚动,关闭下拉框,再展开后,火狐在loading时,以及loading结束后,下拉框内展示空白,需要再次滚动条,数据才会显示。 关闭虚拟滚动后将没有此问题。 
当我在做列表和其他区域联动滚动时,发现列表的滚动效果和其他元素区域滚动效果不一样,比较卡顿
场景:上滑加载历史评论(每条都是两行显示)与原来的评论(每条都是一行显示)合并渲染时(合并操作为原来的列表内容向前追加历史评论),新加入的历史评论内容滚动时出现抖动情况,怀疑时新加入的评论itemHeight和原来不统一导致的。
it can not cusomized the same as the native windows bar without scrollbar buttons. 没有滚动条上的两个按钮,很难自定义出类似window原生的滚动条。
There will be a rolling deviation cause show is not complete when the item Element be setted `marginTop` or `marginBottom`. 
fix: https://github.com/ant-design/ant-design/issues/35375
建议加入footer配置,很常用