Skip to content

CDK Virtual Scroll Viewport with CDK A11y ActiveDescendantKeyManager #14516

@cedvdb

Description

@cedvdb

What is the expected behavior?

Virtual Scroll to work with CDK A11y ActiveDescendantKeyManager

What is the current behavior?

Since virtual scroll only loads partial information and loads more when you scroll (recycling the view), ActiveDescendantKeyManager only get the indexes of the current items loaded by the . As I load more, the indexes repeats themselves, since the virtual scroll adds and deletes items

What are the steps to reproduce?

https://stackblitz.com/edit/angular-zmawwx

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/scrollingfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions