Open xuxzh opened 1 week ago
Hello @xuxzh,
The behavior you've observed with the fixed columns in your table is due to the way the left or right positions of each cell are determined by the widths of the cells that come before them. When your table is placed within a modal that uses an animation upon opening, it can cause the widths of the preceding cells to be calculated incorrectly.
To mitigate this issue promptly, you might want to consider the following solutions:
[nzNoAnimation]="true"
attribute to your nz-modal.@defer(on timer(240ms)) {}
These suggestions are intended as immediate remedies, and a more in-depth examination is recommended for a permanent resolution.
Reproduction link
https://stackblitz.com/edit/angular-grxzhn?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
What is expected?
should have two normal fixed columns
What is actually happening?
abnormal fixed columns
Screenshot: