Please sign in to comment.
fix(ivy): properly insert views into ViewContainerRef injected by que…
…rying <ng-container> (#33816) When asking for a ViewContainerRef on <ng-container> we do reuse <ng-container> comment node as a LContainer's anachor. Before this fix the act of re-using a <ng-container>'s comment node would result in this comment node being re-appended to the DOM in the wrong place. With the fix in this PR we make sure that re-using <ng-container>'s comment node doesn't result in unwanted DOM manipulation (ng-gontainer's comment node is already part of the DOM and doesn't have to be re-created / re-appended). PR Close #33816
- Loading branch information
Showing with 54 additions and 13 deletions.