Skip to content

Commit 3e0cda6

Browse files
committed
fix transition appear check for nested components
1 parent 2288f3e commit 3e0cda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

49-
const isAppear = !vnode.context.$root._isMounted
49+
const isAppear = !vnode.context._isMounted
5050
if (isAppear && !appear && appear !== '') {
5151
return
5252
}

0 commit comments

Comments
 (0)