Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disconnectedCallback followed by connectedCallback removes the editor #10

Open
DrNiels opened this issue Feb 9, 2018 · 2 comments
Open

Comments

@DrNiels
Copy link
Contributor

DrNiels commented Feb 9, 2018

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.

@eterna2
Copy link
Contributor

eterna2 commented Feb 11, 2018

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

@DrNiels
Copy link
Contributor Author

DrNiels commented Apr 10, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants