Akryum / vue-virtual-scroller

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

fix: avoid rendering when slot is unused #787

Closed Mini-ghost closed 12 months ago

Mini-ghost commented 1 year ago

Currently, when using <DynamicScroller> it always render <slot name="before" /> and <slot name="after" />. Maybe we can avoid rendering these two nodes when they are not actually used.

netlify[bot] commented 1 year ago

Deploy Preview for vue-virtual-scroller-demo failed.

Name Link
Latest commit 510de8b60a87d5760db3d79c8726041149986a92
Latest deploy log https://app.netlify.com/sites/vue-virtual-scroller-demo/deploys/63d211a373388a0008da3964