Skip to content

cdk-virtual-scroll-viewport mat-table sticly column Virtual Scroll Jumps around #28584

Open
@alex-matveev42

Description

@alex-matveev42

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

I'm using cdk-virtual-scroll-viewport with mat-table. I have the first and last column as a sticky(sticky for first and stickyEnd for last). Also, I have row selection. So when the user clicks the row it's highlighted. And when I select some row and then start to scroll virtual scroll starts jumping around

Reproduction

bandicam.2024-02-13.14-32-23-104.mp4

Expected Behavior

not jumping

Actual Behavior

start jumping

Environment

  • Angular: 16
  • CDK/Material: 16
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/table

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions