Skip to content
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

elements: projected content is not available in ngAfterContentInit #42246

Open
gkalpak opened this issue May 23, 2021 · 2 comments
Open

elements: projected content is not available in ngAfterContentInit #42246

gkalpak opened this issue May 23, 2021 · 2 comments
Labels
area: elements Issues related to Angular Elements P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix
Milestone

Comments

@gkalpak
Copy link
Member

gkalpak commented May 23, 2021

When projecting content into an Angular Element, the projected content is not available in the DOM when the ngAfterContentInit() lifecycle hook is triggered (as should happen and as happens for regular Angular components).

Reproduction

@gkalpak gkalpak added type: bug/fix area: elements Issues related to Angular Elements P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels May 23, 2021
@ngbot ngbot bot modified the milestone: Backlog May 23, 2021
@mittalshubham093gmailcom

This comment has been minimized.

@gkalpak
Copy link
Member Author

gkalpak commented May 23, 2021

@mittalshubham093gmailcom, there's a reproduction link in the issue description 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: elements Issues related to Angular Elements P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix
Projects
None yet
Development

No branches or pull requests

2 participants