fix(transition): fix dynamic transition update on nested HOCs

This commit is contained in:
Evan You 2020-04-07 16:08:15 -04:00
parent e804463492
commit b8da8b2dfa

View File

@ -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
}