-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
设置了scroll.y高度后导致横向滚动条拉到最后列和内容无法对齐 #2227
Comments
估计是scroll的x没有设置好 ,你的每列都设置宽度了吗? |
@RanZhu123 为了让例子更明显,我给表格加上了边框。 图示: |
建议先通过修改右侧的paddingright 来解决吧? |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
本地环境
你做了什么?
使用一个Table组件
你期待的结果是:
在设置了scroll.y的情况下表格正常显示
实际上的结果:
直接看v1.6.2官方文档Table组件最后一个“适合同时展示有大量数据和数据列”的demo。
一开始未拖动横向滚动条效果:
滚动条拖动到最后的效果:
可重现的在线演示
http://ant.design/components/table/ 适合同时展示有大量数据和数据列 Demo
The text was updated successfully, but these errors were encountered: