ng-zorro-antd icon indicating copy to clipboard operation
ng-zorro-antd copied to clipboard

nzTable: nzWidth working wrong with colspan

Open KangHidro opened this issue 3 years ago • 7 comments

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-3gn1dd?file=src/app/app.component.ts

Steps to reproduce

  1. Create a nz-table with 2 row of thead, using rowspan and colspan
  2. The last column using nzRight
  3. Set nzWidth for each column in FIRST row, except the column using colspan
  4. Set nzWidth for each column in SECOND row
  5. Set nzScroll "x" value by sum of all nzWidth value
  6. What is expected?

    The second row of thead must be set to expected size

    What is actually happening?

    In the second row of thead: the last column is wrong size and it biggest

    Environment Info
    ng-zorro-antd 11.4.2
    Browser Chromium 86.0.4240.198 // Edge 94.0.992.38

KangHidro avatar Oct 10 '21 09:10 KangHidro