Skip to content

Issue when removing element in a connectedCallback #312

@ttoommxx

Description

@ttoommxx

I found an unexpected behaviour when deleting an element in a connected callback.

I have my element A, and a connected callback that does removes it and then call another function. Such function then append an element to the (ex) previous sibling of A, and I get an error then (nodeType null)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions