vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

Vue 3 RecycleScroller will crash if prerender value is larger than items length

Open butaminas opened this issue 3 years ago • 1 comments
trafficstars

I don't know if this is an issue or was this intended but I think it should check if there are enough items to prerended and if not, prerended a lower amount.

If I set the prerender value to be 5 and in my list, I get 3 items, I would get an error indicating, that ID field was not found on undefined item.

butaminas avatar Feb 19 '22 13:02 butaminas

Same issue in Vue 2

softy2k avatar Apr 12 '22 11:04 softy2k