We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0be88 commit f05aeeaCopy full SHA for f05aeea
packages/runtime-dom/src/components/TransitionGroup.ts
@@ -140,8 +140,8 @@ function getTransitionRawChildren(children: VNode[]): VNode[] {
140
if (child.type === Fragment) {
141
ret = ret.concat(getTransitionRawChildren(child.children as VNode[]))
142
}
143
- // comment should be skip, e.g. v-if
144
- if (child.type !== Comment) {
+ // comment placeholders should be skipped, e.g. v-if
+ else if (child.type !== Comment) {
145
ret.push(child)
146
147
0 commit comments