Open strigefleur opened 2 years ago
Same issue: https://ng-zorro-antd-ivy-fqgt7f.stackblitz.io
When nzTableLayout="fixed"
& [nzScroll]="{ x: '100%' }"
. After updating view (bootstrap column in example) – width of table is not updating.
Any WIP for this issue?
Still a problem in the latest version.
The problem in version 17.4.0 is reproducible. If you delete th in thead - tr, then the size changes, perhaps this will somehow help the developers in the solution.
Reproduction link
https://angular-hquq8a-r8smqv.stackblitz.io
Steps to reproduce
What is expected?
Second column (without nzWidth) width is decreased back to fit available space, no horizontal scroll appears.
What is actually happening?
Second column (without nzWidth) width stays increased, horizontal scroll appears.
Related to https://github.com/NG-ZORRO/ng-zorro-antd/issues/5227
@vthinkxie commented that "without nzWidth, ng-zorro-antd will auto calc the nzWidth every time". But actually it calcs only on windows size increase, not when you decrease it back.