Angular not refreshing until second click


I am building a web software with Angular.
I fetch data from a web api using HttpClient with await/async and toPromise().
It happens that data is refreshed on my page only after clicking somewhere. It seems that all interations are shifted by 1. If i load the page, nothing appears but clicking on the body of the page makes the data appearing.

Source: Angular Questions

Categorized as angular, dom, refresh Tagged , ,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us