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

Table设置scroll后,高度足够显示内容的时候也会显示滚动条 #29392

Closed
1 task
shijunwen opened this issue Feb 20, 2021 · 1 comment
Closed
1 task

Comments

@shijunwen
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

设置scroll={{ y: 540 }}

What is expected?

在高度不够的时候显示滚动条

What is actually happening?

不论高度是否足够都会显示滚动条

Environment Info
antd 4.12.3
React 17.0.1
System Windows
Browser Google Chrome 88.0.4324.182(正式版本) (64 位)
@afc163
Copy link
Member

afc163 commented Feb 20, 2021

Duplicate of #29082

@afc163 afc163 marked this as a duplicate of #29082 Feb 20, 2021
@afc163 afc163 closed this as completed Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants