-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
[Ivy] create embedded view is not added #37054
Comments
@lujian98 I've simplified a bit your scenario here: https://stackblitz.com/edit/github-f2y5an-hmzlxt?file=src%2Fapp%2Fapp.component.ts Still, I'm confused about the exact problem. You are saying:
Could you please be more specific? When you say "views are not added" - are they missing from the DOM (not displayed) or something else is going on? I'm afraid that we need more info here... |
The embedded views are missing from the DOM when Ivy is on with "enableIvy": true. |
@lujian98 I find it surprising that stackblitz works fine but your application don't. Could you please do the following:
Thnx! |
I'm going to close this one as we didn't get a reproduce scenario. Please open a new issue attaching a reproduce scenario that we could use to see the bug. |
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 report
Affected Package
@angular/core
Is this a regression?
Yes, worked perfectly fine in v8 without Ivy. Works also without Ivy in v9.
It's interesting that in Stackblitz it works as intended, but when using Chrome/FireFox and ng serve locally it doesn't work.
Description
I try to create embedded view from template and then add the embedded view to the Content Children. However, the embedded views are not added when Ivy is on with v9.
🔬 Minimal Reproduction
https://stackblitz.com/edit/github-f2y5an?file=src%2Fapp%2Fexample%2Fexample.component.ts
https://github.com/lujian98/Angular-create-embeded-view
🔥 Exception or Error
🌍 Your Environment
Angular Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: