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
Current behavior:
NbTabComponent throws ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'content-active: false'. Current value: 'content-active: true'.
When renders conditionally with *ngIf directive.
As I understand correctly, this exception appeared because of NbTabsetComponent changes its child NbTabComponent property active after the NbTabComponent is updated its UI.
This issue doesn't appear when we don't use *ngIf because of standard change detection flow and in time of changing active property of NbTabComponent its UI isn't rendered yet.
The text was updated successfully, but these errors were encountered:
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
NbTabComponent throws ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'content-active: false'. Current value: 'content-active: true'.
When renders conditionally with *ngIf directive.
Expected behavior:
Don't throw this error.
Related code:
Please, open browser console.
https://stackblitz.com/edit/angular-5xa2q9
As I understand correctly, this exception appeared because of NbTabsetComponent changes its child NbTabComponent property active after the NbTabComponent is updated its UI.
This issue doesn't appear when we don't use *ngIf because of standard change detection flow and in time of changing active property of NbTabComponent its UI isn't rendered yet.
The text was updated successfully, but these errors were encountered: