LearnNewsExamplesServices
Frontmatter
id3272
titleUnnecesary DOM updates are generated without a `parentId`
stateClosed
labels
bugstale
assigneestobiu
createdAtJul 11, 2022, 10:52 AM
updatedAtSep 13, 2024, 4:30 AM
githubUrlhttps://github.com/neomjs/neo/issues/3272
authordavhm
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 13, 2024, 4:30 AM

Unnecesary DOM updates are generated without a parentId

Closed v8.1.0 bugstale
davhm
davhm commented on Jul 11, 2022, 10:52 AM

When using a TableContainer in 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.

davhm added the bug label on Jul 11, 2022, 10:52 AM
davhm assigned to @tobiu on Jul 11, 2022, 10:52 AM
davhm changed title from Fix broken DOM updates without a parentId to Unnecesary DOM updates are generated without a parentId on Jul 11, 2022, 11:58 AM
davhm cross-referenced by #3298 on Jul 18, 2022, 11:00 AM