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
Make "noDateVirtualHeight" an input and fix spelling #8446
Comments
Dear @SaurabhHealum, We appreciate your diligence in identifying and documenting the mentioned issues. A pull request has been initiated to address and resolve both concerns effectively. |
Facing the same issue as @SaurabhHealum mentioned, not able to find any workaround for it. Please let us know if there are any quick fixes available. |
Hi @ParsaArvanehPA. |
In the meantime you can manually set the height; like this: .my-table-class-name {
nz-table-inner-scroll {
cdk-virtual-scroll-viewport {
height: 550px !important;
}
}
} |
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-ykibfg?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
[nzData]
to an empty array (replicating no data).nzNoResult
template is being shown inside a scrollable container.What is expected?
noDateVirtualHeight
should be an@Input()
so we can customize the height based on the no data template we use.noDateVirtualHeight
should be renamed tonoDataVirtualHeight
.What is actually happening?
If using a custom
[nzNoResult]
template, the height is limited by the 182px given bynoDateVirtualHeight
variable inside table-inner-scroll.component.ts.This causes the template to not be disaplayed completely, and is instead shown inside a scroll container.
The text was updated successfully, but these errors were encountered: