Frontmatter
| id | 8611 |
| title | Update DeltaUpdates.moveNode to support Fragments |
| state | Closed |
| labels | enhancementaicore |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 7:41 PM |
| updatedAt | Jan 13, 2026, 8:04 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8611 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 8:03 PM |
Update DeltaUpdates.moveNode to support Fragments

tobiu
Jan 13, 2026, 8:03 PM
Input from Gemini 3 Pro:
✦ Updated
moveNodeto correctly resolve Fragment parents using the new helper methods. Verified logic withFragmentDomMove.spec.mjs(direct DeltaUpdates verification). E2E testing (FragmentLifecycle) is still timing out and will be addressed separately.
tobiu closed this issue on Jan 13, 2026, 8:03 PM
tobiu assigned to @tobiu on Jan 13, 2026, 8:04 PM
tobiu added parent issue #8601 on Jan 13, 2026, 8:04 PM
Update
Neo.main.DeltaUpdates.moveNodeto correctly resolve parent and sibling nodes when the target is aNeo.container.Fragment.Changes:
parentNodeis null (indicating a logical parent like a Fragment).getFragmentStart(parentId)to find the anchor.parentNodefrom the anchor.siblingRefusinggetFragmentSibling(startNode, index).insertBeforelogic (preserving the "HOT-SWAP" optimization).This depends on #8609 (Helper methods).