Skip to content

Commit b8da8b2

Browse files
committed
fix(transition): fix dynamic transition update on nested HOCs
1 parent e804463 commit b8da8b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/src/componentRenderUtils.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ export function shouldUpdateComponent(
215215
return true
216216
}
217217

218-
// force child update on runtime directive usage on component vnode.
219-
if (nextVNode.dirs) {
218+
// force child update for runtime directive or transition on component vnode.
219+
if (nextVNode.dirs || nextVNode.transition) {
220220
return true
221221
}
222222

0 commit comments

Comments
 (0)