You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
component with v-if="false" breaks transition mode="out-in" #4933
changed the title [-]component has empty template next route can`t render when use `transition` `out-in` mode.(使用`transition` `out-in` mode时,如果当前组件模版为空时,下次路由不渲染)[/-][+]component has empty template next route can't render when use <transition> 'out-in' mode.(使用<transition> 'out-in' mode时,如果当前组件模版为空时,下次路由不渲染)[/+]on Nov 11, 2021
changed the title [-]component has empty template next route can't render when use <transition> 'out-in' mode.(使用<transition> 'out-in' mode时,如果当前组件模版为空时,下次路由不渲染)[/-][+]component with `v-if="false"` breaks transition `mode="out-in"`[/+]on Nov 11, 2021
This is probably related:
When using mode="in-out" instead in the reproduction and navigating from next2 to next, the content of next2 does not disappear.
Activity
[-]component has empty template next route can`t render when use `transition` `out-in` mode.(使用`transition` `out-in` mode时,如果当前组件模版为空时,下次路由不渲染)[/-][+]component has empty template next route can't render when use <transition> 'out-in' mode.(使用<transition> 'out-in' mode时,如果当前组件模版为空时,下次路由不渲染)[/+][-]component has empty template next route can't render when use <transition> 'out-in' mode.(使用<transition> 'out-in' mode时,如果当前组件模版为空时,下次路由不渲染)[/-][+]component with `v-if="false"` breaks transition `mode="out-in"`[/+]dodododooo commentedon Nov 12, 2021
also when component have no template and render function
edison1105 commentedon Nov 12, 2021
as a workaround add a key to transition:
edison1105 commentedon Nov 12, 2021
the root cause is:

instance.updateis not run.rashfael commentedon Nov 25, 2021
This is probably related:
When using
mode="in-out"instead in the reproduction and navigating from next2 to next, the content of next2 does not disappear.Merge branch 'main' into fix/vuejs#4933
Merge branch 'main' into fix/vuejs#4933
Merge branch 'main' into fix/vuejs#4933
Merge branch 'main' into fix/vuejs#4933
Merge branch 'main' into fix/vuejs#4933
edison1105 commentedon Sep 5, 2024
Closing as it no longer reproduces