GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(core): restore projection into recreated hydration nodes by ietuday · Pull Request #72233 · angular/angular

Conversation

@ietuday

@ietuday ietuday commented Nov 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

PR Checklist

  • The commit message follows our [guidelines](https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md)
  • Tests for the changes have been added
  • Docs have been added / updated (not required for this internal bug fix)

PR Type

  • Bugfix
  • Feature
  • Code style update
  • Refactoring
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other

What is the current behavior?

During hydration, Angular skips inserting projected content when hydration information exists on the view, even if the parent element was recreated on the client.

As a result, nested projected content remains missing when a previously hidden container becomes visible after hydration.

Issue Number: #72132

What is the new behavior?

The projection instruction now checks whether the parent node can be hydrated before skipping content insertion.

Regression tests have been added to cover:

  • Initially hidden and visible server-rendered content.
  • Nested projected elements.
  • Repeated hide/show operations.
  • Existing hydration behavior and duplicate element checks.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Thanks to @floxcristian for the detailed reproduction, root-cause analysis and proposed solution.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ietuday added 2 commits November 27, 2026 04:04
@ietuday
fix(core): restore projection into recreated hydration nodes
e95e50b
Based on the reproduction and proposed fix by @floxcristian in angular#72132. AI-assisted implementation.
@ietuday
test(core): cover nested projection across hydration and toggles
0af7c64
Regression coverage for angular#72132, based on @floxcristian's reproduction. AI-assisted.
@google-cla

google-cla Bot commented Nov 26, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pullapprove
pullapprove Bot requested a review from kirjs November 26, 2026 22:39
@angular-robot angular-robot Bot added the area: core Issues related to the framework runtime label Nov 26, 2026
@ngbot ngbot Bot added this to the Backlog milestone Nov 26, 2026
@JeanMeche JeanMeche added the cla: no label Nov 26, 2026
@google-cla google-cla Bot added cla: yes and removed cla: no labels Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kirjs kirjs Awaiting requested review from kirjs

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

area: core Issues related to the framework runtime cla: yes

Projects

None yet

Milestone

Backlog

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ietuday @JeanMeche
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.