Open reallyimeric opened 3 years ago
https://stackblitz.com/edit/ng-zorro-antd-ivy-f6w1tx
expand the row
layout is OK; all c2 should be horizontal aligned
c2 on last tr are not visually aligned
workaround: use *ngIf instead of nzExpand on the last tr
you should define your own layout on the expanded row, it's not related parent table.
我也遇到了这个问题,使用的是10.2.2 使用*ngIf=mapOfExpandData[data.id]可以解决这个问题 代码是在8.x版本迁移过来的
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-f6w1tx
Steps to reproduce
expand the row
What is expected?
layout is OK; all c2 should be horizontal aligned
What is actually happening?
c2 on last tr are not visually aligned
workaround: use *ngIf instead of nzExpand on the last tr