vue-toast-notification icon indicating copy to clipboard operation
vue-toast-notification copied to clipboard

Status of "allow to set container, default is body"

Open chrisspiegl opened this issue 2 years ago • 3 comments

I looked at the https://github.com/ankurk91/vue-toast-notification/issues/17 Issue and wondered how things are going?

I started using this package in a project of mine which is a Vue Component which embeds into other websites. But since the vue-toast-notifications get injected into the body, the CSS will not load there as it is part of the javascript file and injected into the shadow of one specific component.

Otherwise, this looks and works great. Thank you.

Chris

chrisspiegl avatar Jan 22 '23 10:01 chrisspiegl

Thanks for reaching out. Unfortunately, There is no progress on that issue. I am mostly busy in upgrading projects to Vue 3.

ankurk91 avatar Jan 22 '23 11:01 ankurk91

If it helps in some way, I am using it with Vue 3 in the fore mentioned component and it works well. Just the thing about the toast being injected into the body is a bit of a hiccup, which isn't great, but I can work around it for now.

chrisspiegl avatar Jan 23 '23 03:01 chrisspiegl

I can submit a pull request for this if you want.

I needed this functionality to get the Fullscreen API working in my app so I made some changes and got it working for myself. Would be happy to share it back.

errantmind avatar Sep 20 '23 19:09 errantmind