-
Notifications
You must be signed in to change notification settings - Fork 87
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
ERROR : The node to be removed is not a child of this node. #388
Comments
@MatthewDlr did you manage to resolve this? I am experiencing the same issue. |
Hey, |
Ah nightmare. |
I'm also considering moving away from this plugin, but it's a huge work 😔 |
As part of migrating from version 7 to the latest version we encapsulated this plugin within a service that we manage. That way, if they choose to change the create method signature again we can mitigate. Should make swapping out slightly more straightforward but still a load of work. |
Hi, there, The problem you're having is definitely a problem on the ngx-smart-modal side. I've added an extra check to a batch of current fixes to avoid this problem. 🖖 |
@MatthewDlr for style import, you can do it like this: @import "~ngx-smart-modal/styles/ngx-smart-modal.css";
// or
@import "~ngx-smart-modal/styles/ngx-smart-modal.scss"; |
Hey! No problem (and congrats 🎉). |
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:
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.
The text was updated successfully, but these errors were encountered: