-
Notifications
You must be signed in to change notification settings - Fork 6.8k
ng-content doesn't work with ng-container #8258
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
Comments
Closing as duplicate of the issues above:
|
Sorry for that I actually meant to put that on the angular core one. Sounds like they are already aware though. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
When you have an ng-container, transclusion doesn't work
What is the expected behavior?
I would expect the selector of the transclusion to pull in the element
What is the current behavior?
The element is not selected for
What are the steps to reproduce?
http://plnkr.co/edit/NqAbVgUclJkOSQCrS97H?p=preview
What is the use-case or motivation for changing an existing behavior?
Found when putting md-error inside ng-container. md-input-field selector for md-error does not work
https://github.com/angular/material2/blob/9b4f4355bc89cb83295f10b8d1bea6ba3ab4d6d5/src/lib/form-field/form-field.html#L47
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: