use NzModalService.create with nz-table and fixed columns, fixed columns do not work
Author: blacksolaCreated Jun 28, 2026Updated Jun 28, 2026
Reproduction link
https://stackblitz.com/edit/zedhhz14?file=src%2Fapp%2Fapp.ts
Steps to reproduce
1.click "Use Component" Button 2.fixed columns in table are abnormal
What is expected?
should have normal fixed columns
What is actually happening?
abnormal fixed columns
| Environment | Info |
|---|---|
| ng-zorro-antd | 21.3.1 |
| Browser | Chrome(149) |
Additional Explanation
i use "nzNoAnimation=true" in modalOptions can fix it, But can I manually trigger a recalculation of the left property on the table's th and td elements elsewhere—for example, inside modalRef.afterOpen, in a setTimeout, or in some other location?
Source: NG-ZORRO/ng-zorro-antd