Skip to content
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

3rd party alerts not working #115

Open
shapedthought opened this issue Aug 21, 2021 · 1 comment
Open

3rd party alerts not working #115

shapedthought opened this issue Aug 21, 2021 · 1 comment
Labels
v1 Version 1.x.x

Comments

@shapedthought
Copy link

shapedthought commented Aug 21, 2021

Hi there,

I'm trying out halfmoon in Angular, good so far but I'm hit a problem with it comes to alerts. SweetAlert2, Angular-Notifier, primeng don't work for some reason, They don't error but none of them show anything when triggered.

I've even brought in the halfmoon sticky alerts, but they fail as they directly update the DOM which Angular doesn't like.
ERROR TypeError: Cannot read property 'insertBefore' of undefined
at Object.initStickyAlert (halfmoon-module.js:225)
at LoginComponent.halfmoonAlert (login.component.ts:37)
at SafeSubscriber._next (login.component.ts:70)
at SafeSubscriber.__tryOrUnsub (Subscriber.js:183)
at SafeSubscriber.next (Subscriber.js:122)
at Subscriber._next (Subscriber.js:72)
at Subscriber.next (Subscriber.js:49)
at CatchSubscriber._next (Subscriber.js:72)
at CatchSubscriber.next (Subscriber.js:49)
at MapSubscriber._next (map.js:35)

Do you have any recommendations on how to get any sort of alert working with Angular?

Thanks

@ksenginew
Copy link

ksenginew commented Jan 15, 2022

Hi @shapedthought It looks like halfmoon is not in active development. I had created an active clone named Fullmoon. Please refer to #116 (comment) for more info.

You can report any issues here. You can help us to develop angular falvour of Fullmoon.

@halfmoonui halfmoonui added the v1 Version 1.x.x label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 Version 1.x.x
Projects
None yet
Development

No branches or pull requests

3 participants