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使用fixed: 'right' 固定在右边时会出现1px空白线 #16745

Closed
1 task
hxyong opened this issue May 23, 2019 · 6 comments
Closed
1 task

当table使用fixed: 'right' 固定在右边时会出现1px空白线 #16745

hxyong opened this issue May 23, 2019 · 6 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive

Comments

@hxyong
Copy link

hxyong commented May 23, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/table-cn/

Steps to reproduce

antd table 案列中的固定表头案列,当改变浏览器宽度使table 没有滚动条时,固定的action列的左侧会出现1px的白线

What is expected?

不出现空白线

What is actually happening?

出现

Environment Info
antd 3.18.2
React 最新
System mac
Browser 谷歌浏览器最新

使用固定列的时候改变浏览器宽度到table不出现横向滚动跳会出现这个问题

@afc163
Copy link
Member

afc163 commented May 23, 2019

能否截个图

@hxyong
Copy link
Author

hxyong commented May 23, 2019

截图

@ouzhou
Copy link

ouzhou commented May 30, 2019

借个楼

如果用了fixed right , table组件加载的时候 如果鼠标正巧在列表上面,会有浅蓝色高亮,但是会先左边高亮 那块fixed的不会,但是如果鼠标移动了,就都正常了, 预期是都应该高亮才对

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label May 30, 2019
@kanweiwei
Copy link
Contributor

@afc163 这个感觉不算个bug,这个的原因是受ant-col 栅格布局的影响,table外部的div宽度不是个整数的像素值,然后fixed right的部分是绝对定位且right:0px,就可能出现这个1px的白线。

@afc163
Copy link
Member

afc163 commented Sep 4, 2019

@kanweiwei 和浏览器渲染机制也有一定的关系,确实找不到合适的解决方案,先关了。

@afc163 afc163 closed this as completed Sep 4, 2019
@sinpor
Copy link

sinpor commented Mar 5, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/table-cn/

Steps to reproduce

antd table 案列中的固定表头案列,当改变浏览器宽度使table 没有滚动条时,固定的action列的左侧会出现1px的白线

What is expected?

不出现空白线

What is actually happening?

出现

Environment Info
antd 3.18.2
React 最新
System mac
Browser 谷歌浏览器最新
使用固定列的时候改变浏览器宽度到table不出现横向滚动跳会出现这个问题

请问最终解决了吗?
我的版本是3.23.6,也出现这个问题了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive
Projects
None yet
Development

No branches or pull requests

6 participants