Skip to content

[bug] DOM children's descendants not mapped to correct owner #339

@derekrjones

Description

@derekrjones
  1. go to: https://thetarnav.github.io/solid-devtools/
  2. select DOM mode
  3. find an Element node that is a child of an Element node
  4. hover over it
  5. incorrect owner is shown

child (correct: <Article> is owner)
Image

child's descendant (incorrect: should be <Article> not <Main>)
Image

elNodes[i] = MappedOwnerNode
AddedToParentElements = true
}
r.push(elNode)
elNodeData.component = MappedOwnerNode
continue els

I believe it has something to do here, where once the first child element component property is updated, the children are skipped. I can't find anywhere else where they get updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdebuggerRelated to the debugger package

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions