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]lock 搭配 hasBorder={false} 在特定条件下会导致行不对齐 #1471

Closed
liunian opened this issue Dec 23, 2019 · 0 comments
Closed

Comments

@liunian
Copy link
Contributor

liunian commented Dec 23, 2019

Component

Table

Reproduction link

https://riddle.alibaba-inc.com/riddles/b734a549

Steps to reproduce

查看 https://riddle.alibaba-inc.com/riddles/b734a549 示例

初步看时新增的锁列,处于视觉区分需要增加了 boder,如果原始列没带 border,那么相差的 boder 宽度可能会导致内容展示和原始单元格不一致(如换行),从而导致行不对齐。

期望的效果

image

实际的效果

image

不滚动(宽度足够)的效果

image

hasBorder={true} 的效果

image

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

No branches or pull requests

1 participant