-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimecore: content projection
Milestone
Description
Which @angular/* package(s) are the source of the bug?
elements, core
Is this a regression?
No
Description
With Angular v18 we can now use default fallback content inside ng-content
This doesn't seem to work when component is rendered as custom element.
Update:
This also doesn't work when creating component dynamically using createComponent and providing projectableNodes.
Please provide a link to a minimal reproduction of the bug
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 18.2.0
Node: 18.20.3
Package Manager: npm 10.2.3
OS: linux x64
Angular: 18.2.0
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, platform-browser, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1802.0
@angular-devkit/build-angular 18.2.0
@angular-devkit/core 18.2.0
@angular-devkit/schematics 18.2.0
@schematics/angular 18.2.0
rxjs 7.8.1
typescript 5.5.4
zone.js 0.14.10
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimecore: content projection