halfmoon icon indicating copy to clipboard operation
halfmoon copied to clipboard

3rd party alerts not working

Open shapedthought opened this issue 3 years ago • 1 comments

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

shapedthought avatar Aug 21 '21 18:08 shapedthought

Hi @shapedthought It looks like halfmoon is not in active development. I had created an active clone named Fullmoon. Please refer to https://github.com/halfmoonui/halfmoon/issues/116#issuecomment-1013674632 for more info.

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

ksenginew avatar Jan 15 '22 12:01 ksenginew