Frontmatter
| id | 3272 |
| title | Unnecesary DOM updates are generated without a `parentId` |
| state | Closed |
| labels | bugstale |
| assignees | tobiu |
| createdAt | Jul 11, 2022, 10:52 AM |
| updatedAt | Sep 13, 2024, 4:30 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3272 |
| author | davhm |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 13, 2024, 4:30 AM |
When using a
TableContainerin a hash-routed view (might be partial cause?), the loaded UI will be broken by containing duplicated DOM nodes at the top level of the document.Reproduction
No reliable reproduction steps have been identified. The client project where this bug appears is known and currently accesible by @tobiu
Analysis
Inspecting the DOM reveals too many top-level nodes are added. Logging reveals that several malformed DOM updates are arriving in the main thread, These updates contain nodes without a
parentId, and thus they are inserted at the DOM's top-level. This breaks the UI.