We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcb1e38 commit 5c96daaCopy full SHA for 5c96daa
src/platforms/web/runtime/components/transition.js
@@ -62,13 +62,15 @@ export default {
62
if (mode === 'out-in') {
63
// return old node
64
// and queue an update when the leave finishes
65
- if (!oldChild.elm._leaveCb) {
+ if (!oldChild.elm._leaveCb && oldRawChild.data.transition) {
66
leave(oldChild, () => {
67
- oldRawChild.data.left = true
+ oldRawChild.data.transition = null
68
this.$forceUpdate()
69
})
70
}
71
- return oldRawChild.data.left ? rawChild : oldRawChild
+ if (oldRawChild.data.transition) {
72
+ return oldRawChild
73
+ }
74
} else if (mode === 'in-out') {
75
let delayedLeave
76
const performLeave = () => { delayedLeave() }
0 commit comments