Skip to content

disconnectedCallback followed by connectedCallback removes the editor #10

@DrNiels

Description

@DrNiels

I use a sortable-list (https://www.webcomponents.org/element/sharedlabs/sortable-list) that contains, among other things, a monaco-editor.

When I move an element, it is disconnected and reconnected, leading to calls to disconnectedCallback and connectedCallback (which used to cause some problems with my own elements that required handling). When I move the monaco-editor, the editor disappears, leaving an editor with an empty iframe.

This may be related to issue #6 as the described exception is thrown there as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions