Skip to content

Column and header alignment breaks with fixed header (scroll.y) #1469

@funkindy

Description

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

Version

1.4.7

Environment

Windows 10, Chrome 78, Vue 2.6.10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Put the a-table to the component
  2. set scroll.y to 'auto' or any other number

What is expected?

Expecting the table header widths aligned with the column widths, as well as the working y scroll.

What is actually happening?

Table header widths break in unpredictable manner:
image


"Playing" with column`s widths doesnt help. (Ive tried to left 1 ore more columns without withds set but doesnt help)

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