Skip to content

Commit

Permalink
fix(transition): fix dynamic transition update on nested HOCs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 7, 2020
1 parent e804463 commit b8da8b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/componentRenderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ export function shouldUpdateComponent(
return true
}

// force child update on runtime directive usage on component vnode.
if (nextVNode.dirs) {
// force child update for runtime directive or transition on component vnode.
if (nextVNode.dirs || nextVNode.transition) {
return true
}

Expand Down

0 comments on commit b8da8b2

Please sign in to comment.