I have a simple scenario, but just can\'t get it working!
In my view I display some text in a box with limited height.
The text is being fetched from the server,
To overcome this issue you can move the variable that changes *ngIf state, from ngAfterViewInit to ngOnInit or constructor.
As @tiep-phan told, another way is that pass ChangeDetectorRef to constructor and call detectChanges() whenever you change the state of *ngIf.