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 设置 nzScroll 之后,无论高度是否超过 y ,都会出现滚动条 #5527

Open
zmzimpl opened this issue Jul 8, 2020 · 2 comments
Assignees
Milestone

Comments

@zmzimpl
Copy link

zmzimpl commented Jul 8, 2020

Reproduction link

https://stackblitz.com/edit/angular-wvxwbn

Steps to reproduce

将nzScroll设置成大于实际数据高度的值,此时仍有滚动条

What is expected?

当数据高度小于滚动高度y时,滚动条不应该显示

What is actually happening?

当数据高度小于滚动高度y时,仍有滚动条

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

zorro-bot bot commented Jul 8, 2020

Translation of this issue:

After nz-table setting nzScroll, regardless of the height exceeds y, a scroll bar will appear

Reproduction link

Https://stackblitz.com/edit/angular-wvxwbn

Steps to reproduce

The nzScroll set a value greater than the actual height of the data, at this time there is still a scroll bar

What is expected?

When the height is less than the rolling height data y, the scroll bar should not be displayed

What is actually happening?

When the data is less than the height of the rolling height y, there scrollbar

Environment Info
Ng-zorro-antd 9.2.2
Browser Chrome

@dshark95
Copy link

dshark95 commented Jan 22, 2021

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

4 participants