You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toastr works great - however when adding the new Zoneless changedetection in Angular 18, I get this error when trying to create a toast:
Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for 'display': 'none'. Current value: 'undefined'. Expression location: _Toast component.
Any ideas what it could be? Thanks
As soon as I enable normal zoneJs again, it works without errors
The text was updated successfully, but these errors were encountered:
Back again - sorry for the spam. I actually think the reason is that , due to Angular/Fire issues, we had to keep ZoneJS in the angular.json polyfills, and still use the zoneless change detector.
For some reason this seems to mean ngx-toastr thinks ZoneJS is present, even though there is no change detection running.
Would it be a big task to make wether to use zoneJS or not, a configuration setting when providing the module?
THen we could manually specify wether to use zoneJS or not, instead of relying the library to "guess".
Hi,
Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for 'display': 'none'. Current value: 'undefined'. Expression location: _Toast component.
Any ideas what it could be? Thanks
As soon as I enable normal zoneJs again, it works without errors
The text was updated successfully, but these errors were encountered: