monaco-editor
monaco-editor copied to clipboard
disconnectedCallback followed by connectedCallback removes the editor
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.
hmmm. I will try to look at it soon. Sorry was quite busy with work.
Hi, I don't want to rush anyone, but did you already get to look into this error?