Skip to content

Commit

Permalink
fix(VParallax): update scale on container resize
Browse files Browse the repository at this point in the history
fixes #15935
  • Loading branch information
KaelWD committed Oct 24, 2022
1 parent 5b629f6 commit 038ce0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VParallax/VParallax.tsx
Expand Up @@ -55,6 +55,7 @@ export const VParallax = defineComponent({
})

watch(displayHeight, onScroll)
watch(() => contentRect.value?.height, onScroll)

const scale = computed(() => {
return 1 - clamp(+props.scale)
Expand Down

0 comments on commit 038ce0f

Please sign in to comment.