flauc / angular2-notifications

A light and easy to use notifications library for Angular.
https://stackblitz.com/edit/angular2-notifications-example
MIT License
746 stars 163 forks source link

Modals' overlay overshadows the <simple-notification> element #304

Open brezimenko opened 6 years ago

brezimenko commented 6 years ago

I've got quite some modals in my app and they have a black overlay with .4 or sth like that opacity. Problem is, that I cannot show notification on top of overlay, since overlay is a child of body and notification is nested deeper, inside the app-component.

I propose that notification div be made a child of the body element in case there is no <simple-notification> tag

ahmed-hamdy90 commented 3 years ago

I face same issue See @JanvanCasteren solution or my solution under https://github.com/flauc/angular2-notifications/issues/323 issue will solve your problem.