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.
I think this might have something to do with the fact the we're dynamically creating the page wait component the first time the service is called. This uses applicationRef which might be not a good thing to use within the component lifecycle. We might be able to get around this by putting the dynamic wait component creation within a timeout in the wait service code.
* Start work for wait with absolute element
#546
* Add semi-transparent background for wait component
#545
* Ensure wait service can work in Angular lifecycle
#529
* fix unit tests
* update screenshots for new wait
Expected behavior
SkyWaitService can block and unblock page during ngOnInit()
Actual behavior
Error: ApplicationRef.tick is called recursively
Steps to reproduce
Call this.waitSvc.beginBlockingPageWait() in ngOnInit()
Plunker (see example SKY UX 2 plunker template at: https://plnkr.co/edit/GeP22YbirEzceF3NVu39?p=preview)
https://plnkr.co/edit/izSTik4tPh1ugLA1FciB?p=preview
The text was updated successfully, but these errors were encountered: