Skip to content

Conversation

@crisbeto
Copy link
Member

Reverts a workaround now that it isn't necessary anymore.

Reverts a workaround now that it isn't necessary anymore.
@crisbeto crisbeto requested a review from a team as a code owner November 18, 2025 09:27
@crisbeto crisbeto requested review from adolgachev and mmalerba and removed request for a team November 18, 2025 09:27
@crisbeto crisbeto added the target: rc This PR is targeted for the next release-candidate label Nov 18, 2025

/** Checks if a value is an element. */
export function isElement(value: any): value is Element {
return value && (value as Element).nodeType === 1;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't use instanceof Element, because it can break during SSR.

@mmalerba mmalerba added target: patch This PR is targeted for the next patch release and removed target: rc This PR is targeted for the next release-candidate labels Nov 18, 2025
@mmalerba
Copy link
Contributor

switching it to patch since we're in commit freeze

@mmalerba mmalerba removed their request for review November 18, 2025 16:23
@crisbeto crisbeto removed the request for review from adolgachev November 19, 2025 19:43
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 19, 2025
@crisbeto crisbeto merged commit c63d735 into angular:main Nov 20, 2025
30 of 32 checks passed
@crisbeto
Copy link
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

crisbeto added a commit that referenced this pull request Nov 20, 2025
Reverts a workaround now that it isn't necessary anymore.

(cherry picked from commit c63d735)
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/overlay target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants