Skip to content

bug(VIRTUAL-SCROLL): In append only mode, when scrolling fast, list is jumping to start #25077

Closed
@McKlobasa

Description

@McKlobasa

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

Screen.Recording.2022-06-15.at.08.03.33.mov

When scrolling through example for appendOnly on documentation site (https://material.angular.io/cdk/scrolling/overview), the list acts glitchy. It is constantly jumping back to the begining.

Reproduction

Steps to reproduce:

  1. add appendOnly attribute
  2. scroll fast

Expected Behavior

It shouldn't do that.

Actual Behavior

It is jumping back to the start of the list.

Environment

  • Angular:
  • CDK/Material: at least from 12 to 14
  • Browser(s): Chrome v100
  • Operating System (e.g. Windows, macOS, Ubuntu): macOs

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions