IgxSplitter throws ExpressionChangedAfterItHasBeenCheckedError if panes are created dynamically using *ngFor/@for #15540
Labels
🐛 bug
Any issue that describes a bug
🧨 severity: medium
splitter
version: 19.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
IgxSplitter throws ExpressionChangedAfterItHasBeenCheckedError if panes are created dynamically using *ngFor/@for.
Steps to reproduce
Run this sample: https://stackblitz.com/edit/ez1vyber-bywkpgnw?file=src%2Fapp%2Fsplitter-horizontal-sample%2Fsplitter-horizontal-sample.component.html
Result
ExpressionChangedAfterItHasBeenCheckedError is thrown.
Expected result
ExpressionChangedAfterItHasBeenCheckedError is not thrown.
The text was updated successfully, but these errors were encountered: