Skip to content

virtual-scroll: allow setting the scrolled-to index #10116

Open
@mmalerba

Description

@mmalerba

Add an input to the virtual scroll container that allows developers to set the index of the first element that should be visible in the viewport.

We should also allow specifying an index that is greater than the length of the currently loaded data. Once the data loads we can scroll to the specified index.

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