fix: recycle scroller glitches (#174)

This commit is contained in:
Guillaume Chau 2022-11-27 14:12:25 +01:00 committed by GitHub
parent 6acc838850
commit d97beabf4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View file

@ -11,7 +11,7 @@ const { paginator } = defineProps<{
<template>
<CommonPaginator :paginator="paginator" virtual-scroller>
<template #default="{ item, active }">
<DynamicScrollerItem :item="item" :active="active" :size-dependencies="[item.text]">
<DynamicScrollerItem :item="item" :active="active">
<StatusCard
:status="item"
border="b base" py-3