-
-
Notifications
You must be signed in to change notification settings - Fork 47k
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 横向会出现滚动条 #39362
Comments
You may look for issues: |
Hello @soulToken. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x, or provide a minimal GitHub repository. Issues labeled by 你好 @soulToken, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.x 或 antd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。 |
https://github.com/soulToken/antd5.x this GitHub repository |
antd 4.x 并无此问题 |
发现 根本原因是因为 设置 bordered 之后 会出现滚动条 |
Reproduction link
https://codesandbox.io/embed/ji-ben-yong-fa-antd-5-0-4-forked-uimiyg?fontsize=14&hidenavigation=1&theme=dark
Steps to reproduce
table 设置 scroll={{ x: 'max-content'}} bordered
What is expected?
宽度 充足时 没有滚动条
What is actually happening?
宽度充足但是有滚动条
The text was updated successfully, but these errors were encountered: