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

fix: the right border disappears when the table has no data #908

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edc-hui
Copy link

@edc-hui edc-hui commented Dec 1, 2022

修复ant design 中 table 固定列,表格无数据时,右侧边框不显示的问题

fix: ant-design/ant-design#39115

@vercel
Copy link

vercel bot commented Dec 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
table ❌ Failed (Inspect) Dec 1, 2022 at 2:26AM (UTC)

@@ -417,7 +417,7 @@ function Table<RecordType extends DefaultRecordType>(props: TableProps<RecordTyp

if (fixHeader) {
scrollYStyle = {
overflowY: 'scroll',
overflowY: hasData ? 'scroll' : 'hidden',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为啥是改 rc-table,4.x 和 5.x 现在的 rc-table 应该是同一个版本吧,看看 antd 的样式有啥区别。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的 我再仔细检查下

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

Successfully merging this pull request may close these issues.

table 固定列,表格无数据时,右侧边框不显示
2 participants