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 y和某列的fixed属性时,即时只有一条数据也会显示y轴滚动条 #37910

Closed
subtlecooooder opened this issue Oct 10, 2022 · 1 comment

Comments

@subtlecooooder
Copy link

Reproduction link

Edit on CodeSandbox

Steps to reproduce

比如有abc三列,给a列加了fixed: 'left'并且给表格加了scroll={{ y: 240 }}的属性后,在仅有一条数据的情况时也会出现滚动条

What is expected?

行数未达到设置的滚动高度时不显示滚动条

What is actually happening?

行数未达到设置的滚动高度时显示滚动条了,并且可以轻微滚动

Environment Info
antd 4.17.3
React 17.x
System windows10
Browser chrome 105.0.5195.127
@afc163
Copy link
Member

afc163 commented Oct 10, 2022

Duplicate of #29082

@afc163 afc163 marked this as a duplicate of #29082 Oct 10, 2022
@afc163 afc163 closed this as completed Oct 10, 2022
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