fix(compiler-ssr): generate correct children for transition-group
fix #2510
This commit is contained in:
@@ -471,7 +471,7 @@ export function getTransitionRawChildren(
|
||||
}
|
||||
// #1126 if a transition children list contains multiple sub fragments, these
|
||||
// fragments will be merged into a flat children array. Since each v-for
|
||||
// fragment may contain different static bindings inside, we need to de-top
|
||||
// fragment may contain different static bindings inside, we need to de-op
|
||||
// these children to force full diffs to ensure correct behavior.
|
||||
if (keyedFragmentCount > 1) {
|
||||
for (let i = 0; i < ret.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user