components icon indicating copy to clipboard operation
components copied to clipboard

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

Open alex-matveev42 opened this issue 2 years ago • 0 comments

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

https://github.com/angular/components/assets/133750432/2b77658c-92ec-41a0-970f-c1d9e5dff737

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

alex-matveev42 avatar Feb 13 '24 12:02 alex-matveev42