Akryum / vue-virtual-scroller

⚡️ Blazing fast scrolling for any amount of data
https://vue-virtual-scroller-demo.netlify.app
9.48k stars 901 forks source link

default variable size #684

Closed SupertigerDev closed 3 years ago

SupertigerDev commented 3 years ago

There should be a way to have a default variable size + use ones that are in the item object. Currently, I have a huge list with tabs but i have to do

let list = list.map(el => el.size = 42)
list = [{title: "Title", size: 20}, ...list]

which probably causes performance issues.

SupertigerDev commented 3 years ago

Looks like you can already do that using minItemSize