Skip to content

Commit

Permalink
fix: don't destroy components when transition value changes
Browse files Browse the repository at this point in the history
fixes #15995
  • Loading branch information
KaelWD committed Oct 30, 2022
1 parent 875b951 commit e6b0d7a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/vuetify/src/composables/transition.ts
Expand Up @@ -20,8 +20,6 @@ interface MaybeTransitionProps extends TransitionProps {
export const MaybeTransition: FunctionalComponent<MaybeTransitionProps> = (props, { slots }) => {
const { transition, ...rest } = props

if (!transition || typeof transition === 'boolean') return slots.default?.()

const { component = Transition, ...customProps } = typeof transition === 'object' ? transition : {}

return h(
Expand Down

0 comments on commit e6b0d7a

Please sign in to comment.