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 固定列,表格无数据时,右侧边框不显示 #39115

Closed
wanghui2021 opened this issue Nov 30, 2022 · 9 comments · Fixed by #39723 · May be fixed by react-component/table#908
Closed

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

wanghui2021 opened this issue Nov 30, 2022 · 9 comments · Fixed by #39723 · May be fixed by react-component/table#908
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. 👷🏻‍♂️ Someone working on it

Comments

@wanghui2021
Copy link
Contributor

Reproduction link

Edit on CodeSandbox

Steps to reproduce

What is expected?

表格右侧显示边框

What is actually happening?

表格右侧无边框

Environment Info
antd 5.0.2
React react@18.2.0
System macOS 13
Browser chrome 107.0.5304.110
@wanghui2021 wanghui2021 changed the title table 固定列,表格无数据时,右侧边框不现实 table 固定列,表格无数据时,右侧边框不显示 Nov 30, 2022
@afc163 afc163 added the help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. label Nov 30, 2022
@github-actions
Copy link
Contributor

Hello @wanghui2021. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch (feature branch for the new feature, master for bugfix and other changes), fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @wanghui2021,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支(新特性发到 feature 分支,其他发到 master 分支),务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

giphy

@wanghui2021
Copy link
Contributor Author

这个应该修复5.x版本的样式即可。4.x版本无此问题

@edc-hui
Copy link
Contributor

edc-hui commented Dec 5, 2022

image
@wanghui2021 你说的是图中这个在无数据的时候不应该显示是么?我这边测试 5.x 和 4.x 都会出现这个现象。所以我现在有点怀疑自己是不是理解错这个issue了

@afc163
Copy link
Member

afc163 commented Dec 22, 2022

只有一个右上角滚动后的圆角问题,我修掉。
图片

@wanghui2021
Copy link
Contributor Author

@wanghui2021
Copy link
Contributor Author

wanghui2021 commented Dec 22, 2022

image

image

5.0.7之前的版本都有该问题

@afc163
Copy link
Member

afc163 commented Dec 22, 2022

那就是 5.1.0 不知道怎么就修复了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. 👷🏻‍♂️ Someone working on it
Projects
None yet
3 participants