diff --git a/src/platforms/web/runtime/components/transition-group.js b/src/platforms/web/runtime/components/transition-group.js index 81d033d5ad5..0b696500cff 100644 --- a/src/platforms/web/runtime/components/transition-group.js +++ b/src/platforms/web/runtime/components/transition-group.js @@ -75,6 +75,7 @@ export default { const kept: Array = [] const removed: Array = [] for (let i = 0; i < prevChildren.length; i++) { + prevChildren[i].elm.style = 'block' const c: VNode = prevChildren[i] c.data.transition = transitionData c.data.pos = c.elm.getBoundingClientRect()