Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cdk/scrolling): avoid SSR error in CdkVirtualScrollableWindow #30259

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Jan 1, 2025

The CdkVirtualScrollableWindow was referring to the document directly which can break in SSR. These changes use the DI token instead.

The `CdkVirtualScrollableWindow` was referring to the `document` directly which can break in SSR. These changes use the DI token instead.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jan 1, 2025
@crisbeto crisbeto requested a review from a team as a code owner January 1, 2025 09:20
@crisbeto crisbeto requested review from amysorto and wagnermaciel and removed request for a team January 1, 2025 09:20
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Jan 3, 2025
@crisbeto crisbeto merged commit 5c75bbe into angular:main Jan 3, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: cdk/scrolling target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants