vue3-infinite-list icon indicating copy to clipboard operation
vue3-infinite-list copied to clipboard

一个支持百万数量级的Vue3无限滚动列表组件

Results 17 vue3-infinite-list issues
Sort by recently updated
recently updated
newest added
trafficstars

while (offset < maxOffset && stop < this.itemCount - 1) { stop++; offset += this.getSizeAndPositionForIndex(stop).size; } 这一段判断变成了 offset < '100%'

Dynamic data seems to not be 100%. Let's say I have a list of 10000 items, and a search bar. I start typing in search bar, which shrinks my data...

列表项的高度完全由实际渲染决定,不再设置(itemSize)之类任何的有关高度的设置。完全预估形式的,这样比itemSize来的更加有特色。可能性能上稍逊。 ps:可以参考[这个库](https://virtuoso.dev/auto-resizing/)的预估高度思路

高度Height一定要设置吗? 数据量很多的时候,Height 也要list.length * itemHeight吗? 这样会导致卡死啊,特别是跟走马灯一起用的时候

:data="dataSource" dataSource一直在变化,是proxy对象,页面没有变化

实际使用中发现,itemSize不填会报错。看文档显示是非必填属性

如果渲染一千万条数据,整个盒子高度会很大,但实际盒子最大高度只能到26843542像素,就可能会造成滚到底部依然无法渲染后面的数据的问题。

假设一次性接收几千条数据,但是我只希望一次展示30条,滚动到底部触发事件后展示更多,该怎么做呢

scrollOffset = 21959 debug打印 = start:209 stop:337 total:410 offset:21959 事件返回e.target.scrollTop = 20285 debug打印 = start:188 stop:316 total:410 offset:20285