Skip to content

When the table acquires data asynchronously, and when the length of the columns is not long enough, the fixed style is invalid #5996

@wishong

Description

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

Version

undefined

Environment

vue3 vite2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.table设置 :scroll="{ x: true }", columns中有项设置了 fixed=right
2.模拟异步获取数据
3.数据获取后,如果表头长度不够长,fixed样式不会生效

What is expected?

异步获取数据后,fixed都生效

What is actually happening?

表头较短时,不生效
1

表头较长时,生效。进度条拉到最右时,fixed不会消失,应该也是个bug?
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions