Please explain to me why I keep getting this error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
Obviously,
I'm using ng2-carouselamos (Angular 8 and Bootstrap 4)
Taking these steps fixed my problem:
AfterViewChecked
constructor(private changeDetector : ChangeDetectorRef ) {}
ngAfterViewChecked(){ this.changeDetector.detectChanges(); }