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

虚拟滚动中, 数据量少时,表头不对齐 #3357

Closed
liwei511 opened this issue Apr 24, 2019 · 1 comment · Fixed by #3365
Closed

虚拟滚动中, 数据量少时,表头不对齐 #3357

liwei511 opened this issue Apr 24, 2019 · 1 comment · Fixed by #3365

Comments

@liwei511
Copy link

Reproduction link

https://stackblitz.com/edit/angular-qyhvs2?file=src/app/app.component.ts

Steps to reproduce

右侧表头不对齐

What is expected?

表头对齐

What is actually happening?

表头不对齐

Environment Info
ng-zorro-antd 7.3.2
Browser Chrome 74

这个例子(官方文档里https://ng.ant.design/components/table/zh#components-table-demo-virtual), 如果行数几行时, 表头不对齐。 期望大佬加一个overflow-y:scoll。

@ng-zorro-bot
Copy link
Collaborator

Translation of this issue:


Virtual scrolling, when the amount of data is small, the header is not aligned

Reproduction link

[https://stackblitz.com/edit/angular-qyhvs2?file=src/app/app.component.ts](https://stackblitz.com/edit/angular-qyhvs2?file=src/app/app. Component.ts)

Steps to reproduce

The right header is not aligned

What is expected?

Head alignment

What is actually happening?

Header misalignment

Environment Info
ng-zorro-antd 7.3.2
Browser Chrome 74

This example (https://ng.ant.design/components/table/zh#components-table-demo-virtual) in the official documentation, if the number of lines is a few lines, the headers are not aligned. Expect to add an overflow-y:scoll.

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