Skip to content

Uncaught Type Error on removal #6

@DrNiels

Description

@DrNiels

When I remove the editor element (or one of its parents), an error is displayed in the console:

monaco-editor-iframe.js:87 Uncaught TypeError: Cannot read property 'postMessage' of null
    at EditorProxy.postMessage (monaco-editor-iframe.js:87)
    at EditorProxy.dispose (monaco-editor-iframe.js:111)
    at HTMLElement.disconnectedCallback (monaco-editor.html:487)
    at HTMLElement.closeTab (tabbed-shell.html:665)
    at HTMLElement._handleCloseEvent (tabbed-shell.html:480)
    at HTMLElement._close (ips-tab.html:60)
    at HTMLElement.handler (template-stamp.html:92)
    at Object._fire (gestures.html:599)
    at Object.forward (gestures.html:991)
    at Object.click (gestures.html:957)````

So far, I could not observe any further effects of this error beside the message.

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