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

Virtual table column alignment issue #8470

Open
SaurabhHealum opened this issue Mar 27, 2024 · 0 comments
Open

Virtual table column alignment issue #8470

SaurabhHealum opened this issue Mar 27, 2024 · 0 comments
Assignees

Comments

@SaurabhHealum
Copy link

Reproduction link

https://stackblitz.com/edit/angular-fhlakd?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

  1. Use the nz-table component to create a table with virtual scrolling
  2. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants