You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the nz-table component to create a table with virtual scrolling
Set the number of rows in the table data to less than the amount required for scrollbar to appear.
What is expected?
The table columns should be aligned to the column headings, even if there is no scrollbar present.
What is actually happening?
There is excess padding at the end of the table headers to accomodate for the scrollbar.
This padding is present even if there are not enough items for there to be scroll.
Environment
Info
ng-zorro-antd
16.2.2
Browser
any
The text was updated successfully, but these errors were encountered:
In the end, I'm always displaying the y-scroll, no matter how many rows are in the table. This way, the header will always be aligned with the body, and I stylled the scrollbar to be more pleasent to the eye
Reproduction link
https://stackblitz.com/edit/angular-fhlakd?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
nz-table
component to create a table with virtual scrollingWhat is expected?
The table columns should be aligned to the column headings, even if there is no scrollbar present.
What is actually happening?
There is excess padding at the end of the table headers to accomodate for the scrollbar.
This padding is present even if there are not enough items for there to be scroll.
The text was updated successfully, but these errors were encountered: