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

大数据量情况下,高度滚动到最底部,会在最后一列出现大部分空白界面 #50

Open
lLeahDizon opened this issue Jan 9, 2020 · 3 comments

Comments

@lLeahDizon
Copy link

image
出现了留白的现象

@wubostc
Copy link
Owner

wubostc commented Jan 9, 2020

@lLeahDizon 需要复现问题

@lLeahDizon
Copy link
Author

动态设置了scroll.y,scroll.x是通过遍历计算columns.width得到,其他就没什么处理了,然后修改了样式
.ant-table-tbody > tr > td {
height: 37px;
padding: 5px 16px;
vertical-align: middle;
}
.ant-table-fixed > tr > td {
height: 37px;
padding: 5px 16px;
vertical-align: middle;
}

@wubostc
Copy link
Owner

wubostc commented Jan 9, 2020

@lLeahDizon 我建议你用codesandbox

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