Skip to content

Using the virtual list of Table, when modifying dataSource, the header is not aligned with the body column. #36127

@wellssu0

Description

@wellssu0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 横向滚动表格
  2. 点击reset dataSource按钮

What is expected?

header和body竖向对齐

What is actually happening?

header的ScrollX重置了,body的ScrollX还保原来的值

Environment Info
antd 4.21.3
React 16.14
System macos
Browser Version 102.0.5005.115 (Official Build) (arm64)

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