Skip to content

ERROR : The node to be removed is not a child of this node. #388

Closed
@MatthewDlr

Description

@MatthewDlr

Hello,

I recently updated my angular app to version 17.2.0 along with ngx-smart-modal version 14.0.3.
I noticed than, now I have many errors in the console with solely this error message:

ERROR DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at Ae._destroyModal ...
at Ae.removeModal ...
at Ae._deleteModal ...

The thing is that ngx-smart-modal is working great, and the modals are correctly shown, I just have this error on every page, even when no modal is triggered. I would like to know if it's an issue or just a misconfiguration from my app?

Oh and last thing, since the update, I had to import the CSS using the following import, because all imports shown in the documentation didn't work. @import "../node_modules/ngx-smart-modal/styles/ngx-smart-modal.scss"

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions