We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc63df0 commit 51912f8Copy full SHA for 51912f8
packages/runtime-core/src/components/BaseTransition.ts
@@ -193,7 +193,10 @@ const BaseTransitionImpl: ComponentOptions = {
193
// #11061, ensure enterHooks is fresh after clone
194
hooks => (enterHooks = hooks),
195
)
196
- setTransitionHooks(innerChild, enterHooks)
+
197
+ if (innerChild.type !== Comment) {
198
+ setTransitionHooks(innerChild, enterHooks)
199
+ }
200
201
const oldChild = instance.subTree
202
const oldInnerChild = oldChild && getInnerChild(oldChild)
0 commit comments