Skip to content

fix(cdk/scrolling): scrollToIndex combined with cdkVirtualScrollingEe…#33117

Open
Harpush wants to merge 1 commit into
angular:mainfrom
Harpush:cdk-virtual-scroll-offset-scroll-relative-to
Open

fix(cdk/scrolling): scrollToIndex combined with cdkVirtualScrollingEe…#33117
Harpush wants to merge 1 commit into
angular:mainfrom
Harpush:cdk-virtual-scroll-offset-scroll-relative-to

Conversation

@Harpush

@Harpush Harpush commented Apr 21, 2026

Copy link
Copy Markdown

…ment can result in wrong scroll offset

Fixes a bug when using cdkVirtualScrollingElement and there is some space between the scrolling element and the viewport the scroll to index function doesn't take into account the viewport offset from the scrolling container.

Fixes #33063

…ment can result in wrong scroll offset

Fixes a bug when using cdkVirtualScrollingElement and there is some space between the scrolling element and the viewport the scroll to index function doesn't take into account the viewport offset from the scrolling container.

Fixes angular#33063
@Harpush Harpush force-pushed the cdk-virtual-scroll-offset-scroll-relative-to branch from 0303207 to 55f8e6d Compare May 1, 2026 08:15
@Harpush

Harpush commented May 1, 2026

Copy link
Copy Markdown
Author

@crisbeto @adolgachev any chance to review this?

@Harpush

Harpush commented Jun 5, 2026

Copy link
Copy Markdown
Author

@crisbeto @adolgachev now with v22 released - any chance for this to be reviewed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(virtual-scroll): scrollToIndex on viewport while inside cdkVirtualScrollingElement is wrong

1 participant