Skip to content

[Table]lock 搭配 hasBorder={false} 在特定条件下会导致行不对齐 #1471

Closed
@liunian

Description

@liunian

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions