Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nz-table with fixed columns and *ngIf #5206

Closed
alexbonair opened this issue May 5, 2020 · 1 comment
Closed

nz-table with fixed columns and *ngIf #5206

alexbonair opened this issue May 5, 2020 · 1 comment
Assignees

Comments

@alexbonair
Copy link

alexbonair commented May 5, 2020

Reproduction link

https://codesandbox.io/s/agitated-elbakyan-b3ylx?file=/src/app/app.component.ts

As the stackblitz to fork from is v8.5.x. I forked your latest codesandbox for fixed columns example

Steps to reproduce

It's reproducible by simply adding a *ngIf to a fixed column which is not the last/first in the table

What is expected?

That it renders the table as before, as the *ngIf condition is true

What is actually happening?

The browser almost freezes and this error appears:
ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'ant-table-cell-fix-right-first: false'. Current value: 'ant-table-cell-fix-right-first: true'.

Environment Info
ng-zorro-antd 9.1.0
Browser latest Chrome, FF, Safari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants