-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Open
Labels
area: elementsIssues related to Angular ElementsIssues related to Angular Elements
Milestone
Description
Which @angular/* package(s) are the source of the bug?
elements
Is this a regression?
Yes
Description
Custom web components created using Angular's 'createCustomElement' do not render inside AngularJs's structural directives like ng-repeat and ng-if etc.
Web components created using native APIs work fine inside AngularJs's structural directives, only angular's web components are not rendering.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/typescript-ufccb5?file=index.ts,index.html
Please provide the exception or error you saw
In the provided stackblitz link, the Angular's web component renders correctly for the first time.
Now click on the ADD button.
The Angular's web component is removed completely from the DOM. In contrast, the web component created using just the native HTML works fine.
Please provide the environment you discovered this bug in (run ng version)
The issue can be replicated with Angular 15 as well
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: elementsIssues related to Angular ElementsIssues related to Angular Elements