monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

disconnectedCallback followed by connectedCallback removes the editor

Open DrNiels opened this issue 7 years ago • 2 comments

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.

DrNiels avatar Feb 09 '18 10:02 DrNiels

hmmm. I will try to look at it soon. Sorry was quite busy with work.

eterna2 avatar Feb 11 '18 12:02 eterna2

Hi, I don't want to rush anyone, but did you already get to look into this error?

DrNiels avatar Apr 10 '18 14:04 DrNiels