Skip to content

Commit

Permalink
fix(VVirtualScroll): don't fully deep watch items
Browse files Browse the repository at this point in the history
fixes #19941
closes #20608
  • Loading branch information
KaelWD committed Oct 29, 2024
1 parent 8c5a2b9 commit 70db0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/virtual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export function useVirtual <T> (props: VirtualProps, items: Ref<readonly T[]>) {
offsets = Array.from({ length: items.value.length })
updateOffsets.immediate()
calculateVisibleItems()
}, { deep: true })
}, { deep: 1 })

return {
calculateVisibleItems,
Expand Down

0 comments on commit 70db0c7

Please sign in to comment.