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
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
A component that is shown using the Angular ngIf directive should allow SkyModalService to be injected in its constructor.
Actual behavior
Adding SkyModalService to the constructor of a component that is shown using ngIf causes the error ApplicationRef.tick is called recursively
Steps to reproduce
Create a component that has SkyModalService in its constructor.
Cite this component in another component with an ngIf directive.
The error occurs
Add SkyModalService to the parent component and the error goes away. I'm assuming this is occurring because the SkyModalHostComponent is not created during the app's initial bootstrap phase.
Expected behavior
A component that is shown using the Angular
ngIf
directive should allowSkyModalService
to be injected in its constructor.Actual behavior
Adding
SkyModalService
to the constructor of a component that is shown usingngIf
causes the errorApplicationRef.tick is called recursively
Steps to reproduce
SkyModalService
in its constructor.ngIf
directive.SkyModalService
to the parent component and the error goes away. I'm assuming this is occurring because theSkyModalHostComponent
is not created during the app's initial bootstrap phase.Plunker
https://plnkr.co/edit/i9nopmeYvhL2dH1KRq68?p=preview
The text was updated successfully, but these errors were encountered: