We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19cfc0 commit f454dd6Copy full SHA for f454dd6
packages/runtime-core/src/renderer.ts
@@ -2463,8 +2463,8 @@ export function invokeVNodeHook(
2463
*
2464
* #2080
2465
* Inside keyed `template` fragment static children, if a fragment is moved,
2466
- * the children will always moved so that need inherit el form previous nodes
2467
- * to ensure correct moved position.
+ * the children will always be moved. Therefore, in order to ensure correct move
+ * position, el should be inherited from previous nodes.
2468
*/
2469
export function traverseStaticChildren(n1: VNode, n2: VNode, shallow = false) {
2470
const ch1 = n1.children
0 commit comments