Title: nested @if syntax breaks slotted content projection · Issue #61125 · angular/angular · GitHub
Open Graph Title: nested @if syntax breaks slotted content projection · Issue #61125 · angular/angular
X Title: nested @if syntax breaks slotted content projection · Issue #61125 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description If you use ng-content with a "select", content that is nested within more than one @if is not being projected. See "I am not projected" in t...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description If you use ng-content with a "select", content that is nested within more than one @if is not being ...
X Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description If you use ng-content with a "select", content that is nested within more than one @if is ...
Opengraph URL: https://github.com/angular/angular/issues/61125
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"nested @if syntax breaks slotted content projection","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncore\n\n### Is this a regression?\n\nNo\n\n### Description\n\nIf you use ng-content with a \"select\", content that is nested within more than one @if is not being projected. See \"I am not projected\" in the given example\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://stackblitz.com/edit/7hxepgvt?file=src%2Fmain.ts\n\n### Please provide the exception or error you saw\n\n```true\n\n```\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\n_ _ ____ _ ___\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\n |___/\n \n\nAngular CLI: 18.2.16\nNode: 20.17.0\nPackage Manager: npm 10.8.2\nOS: linux x64\n\nAngular: 18.2.13\n... animations, common, compiler, compiler-cli, core, forms\n... platform-browser, platform-browser-dynamic, router\n\nPackage Version\n---------------------------------------------------------\n@angular-devkit/architect 0.1902.5\n@angular-devkit/build-angular 18.2.16\n@angular-devkit/core 19.2.5\n@angular-devkit/schematics 18.2.16\n@angular/cdk 18.2.14\n@angular/cli 18.2.16\n@angular/material 18.2.14\n@schematics/angular 18.2.16\nrxjs 7.8.2\ntypescript 5.5.4\nzone.js 0.14.10\n```\n\n### Anything else?\n\nSeen in both v18 and v19 (as demonstrated in stackblitz reproduction)","author":{"url":"https://github.com/kprzybylski88","@type":"Person","name":"kprzybylski88"},"datePublished":"2025-05-05T14:28:47Z","url":"https://github.com/angular/angular/issues/61125"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f0939762-9101-7ca1-cfc9-b29b0aa0f8ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9FC:21AC3F:1AF838D:2224B10:6B01353B |
| html-safe-nonce | 0ce9bb0194b6e6c8c886472b822e6b04195c609b66d380101de7ede86e699ce1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUZDOjIxQUMzRjoxQUY4MzhEOjIyMjRCMTA6NkIwMTM1M0IiLCJ2aXNpdG9yX2lkIjoiNzI4NTM5NzM4NDk3NTE2ODgyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 83b2aac494b7b78e4b5e781b0c70e5c57a8307f4aef5a5903ae1015b53afb155 |
| hovercard-subject-tag | issue:3039874326 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/61125/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05c15185975b0d3f75eb1a4022c2d213c8d286a4338106d393b8f340bbe69f0b/angular/angular/issues/61125 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05c15185975b0d3f75eb1a4022c2d213c8d286a4338106d393b8f340bbe69f0b/angular/angular/issues/61125 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description If you use ng-content with a "select", content that is nested within more than one @if is not being ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kprzybylski88 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width