Skip to content

Commit 2388bdb

Browse files
committed
fix transition appear check (again)
1 parent 2c6930a commit 2388bdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/platforms/web/runtime/modules/transition.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export function enter (vnode: VNodeWithData) {
4646
appearCancelled
4747
} = data
4848

49-
const isAppear = !vnode.context._isMounted
49+
const context = vnode.context.$parent || vnode.context
50+
const isAppear = !context._isMounted
5051
if (isAppear && !appear && appear !== '') {
5152
return
5253
}

0 commit comments

Comments
 (0)