Skip to content

[Bug Report]Table组件使用fixed right导致表格行错位的bug #412

@kgdfj

Description

@kgdfj

Environment

macos 12.7.1/chrome 136.0.7103.93/vue3

Reproduction link

https://run.iviewui.com/nshY2YIu

Steps to reproduce

特定字符串在特定宽度下,fixed高度不一致导致表格行错位

What is expected?

表格同一行单元格高度一致

What is actually happening?

fixed的单元格高度不一致导致错位


表格宽度2001px,比fixed占位表格宽度(2000px)多出1像素,
第二列显示宽度200.09px,占位宽度是200px,
而特定长度的字符串恰好因为少了0.09px导致换行,占位比显示多了一行文字的高度,导致了表格错位。
这个问题在vue2版本的view-design同样存在

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions