Akryum / vue-virtual-scroller

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

RecycleScroller component uses gridItems mode, how to control the gap between rows and columns? #849

Open lu606 opened 10 months ago

lu606 commented 10 months ago

Clear and concise description of the problem

I want to set the gap between different rows and columns in the RecycleScroller component, thanks.

Suggested solution

Maybe we can add the corresponding gap offset to the corresponding attribute of the transform?

Alternative

Maybe I can use vue-virtual-collection, but it seems to be in an unmaintained state

Additional context

No response

Validations

the-didi commented 4 months ago

.item { box-sizing: border-box; padding: 3px; }