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

nz-table 表头分组下 nzNoResult 会错位 #5509

Closed
cipchk opened this issue Jul 3, 2020 · 2 comments · Fixed by #5533
Closed

nz-table 表头分组下 nzNoResult 会错位 #5509

cipchk opened this issue Jul 3, 2020 · 2 comments · Fixed by #5533

Comments

@cipchk
Copy link
Member

cipchk commented Jul 3, 2020

Reproduction link

https://stackblitz.com/edit/ng-alain-setup-nyczup?file=src%2Fapp%2Fapp.component.html

Steps to reproduce

这种情况只会在使用 *ngFor 渲染表头时才会发生。

Environment Info
ng-zorro-antd 9.2.2
Browser All
@zorro-bot
Copy link

zorro-bot bot commented Jul 3, 2020

Translation of this issue:

nz-table header packet will be displaced under nzNoResult

Reproduction link

[Https://stackblitz.com/edit/ng-alain-setup-nyczup?file=src%2Fapp%2Fapp.component.html](https://stackblitz.com/edit/ng-alain-setup-nyczup? file = src% 2Fapp% 2Fapp.component.html)

Steps to reproduce

This only happens when you use * ngFor render header.

Environment Info
Ng-zorro-antd 9.2.2
Browser All

@vthinkxie
Copy link
Member

https://stackblitz.com/edit/ng-alain-setup-hxst1l?file=src%2Fapp%2Fapp.component.html
可以先这么解决,后面也支持了[colSpan]和[rowSpan]的写法

vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Jul 9, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Jul 9, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Jul 9, 2020
vthinkxie added a commit that referenced this issue Jul 9, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 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