Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed nzWidth table broken after tab Select Change #5370

Closed
Wsp0000 opened this issue Jun 3, 2020 · 1 comment · Fixed by #5437
Closed

Fixed nzWidth table broken after tab Select Change #5370

Wsp0000 opened this issue Jun 3, 2020 · 1 comment · Fixed by #5437
Assignees

Comments

@Wsp0000
Copy link

Wsp0000 commented Jun 3, 2020

Reproduction link

https://stackblitz.com/edit/angular-ng-zorro-9-tabs-table-nzwidth?file=src%2Fapp%2Ffixed-header.component.ts

Steps to reproduce

  1. use nzWidth fixed Table column width in Tab1
  2. click Tab2
  3. click Tab1

please see gif:
ng-zorro-9-tabs-table-width-issu

What is expected?

After click Tab1 come back should still Fixed Table column width

What is actually happening?

Table column width changed

Environment Info
ng-zorro-antd 9.1.2
Browser Chrome 83.0.4103.61

same code in angular8/ng-zorro-antd@8.5.2 work as expected

https://stackblitz.com/edit/angular-ng-zorro-8-tabs-table-nzwidth?file=src%2Fapp%2Ffixed-header.component.ts

the same issue in angular9/ng-zorro-antd@9.1, seem like width become average width

Is that possible to workaround by downgrade ng-zorro-antd@9 to angular9/ng-zorro-antd@8.5.2 or overwrite by css?

@styick
Copy link

styick commented Jun 4, 2020

我也遇到这个问题,并且如果把浏览器横向缩小会出现横向滚动条。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants