fix(ivy): content projection should not corrupt TNode data structures (#29130)

PR Close #29130
This commit is contained in:
Pawel Kozlowski
2019-03-06 14:01:02 +01:00
committed by Andrew Kushnir
parent 268c3fe816
commit 22ddbf4b02
4 changed files with 59 additions and 14 deletions

View File

@ -283,6 +283,14 @@ export interface TNode {
*/
next: TNode|null;
/**
* The next projected sibling. Since in Angular content projection works on the node-by-node basis
* the act of projecting nodes might change nodes relationship at the insertion point (target
* view). At the same time we need to keep initial relationship between nodes as expressed in
* content view.
*/
projectionNext: TNode|null;
/**
* First child of the current node.
*