Skip to content

Commit

Permalink
Revert "fix(VNavigationDrawer): don't calculate transform width if te…
Browse files Browse the repository at this point in the history
…mporary"

This reverts commit be8babe.
  • Loading branch information
johnleider committed Jul 16, 2024
1 parent d9e7211 commit 6bdd230
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({

return isDragging.value ? size * dragProgress.value : size
})
const elementSize = computed(() => ['top', 'bottom'].includes(props.location) || props.temporary ? 0 : width.value)
const elementSize = computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value)
const { layoutItemStyles, layoutItemScrimStyles, layoutIsReady } = useLayoutItem({
id: props.name,
order: computed(() => parseInt(props.order, 10)),
Expand Down

0 comments on commit 6bdd230

Please sign in to comment.