fix(ivy): don't cache render parent on LContainer to support ngUpgrade (#28011)
PR Close #28011
This commit is contained in:

committed by
Andrew Kushnir

parent
1f904bffbc
commit
6beeb76ac0
@ -52,9 +52,9 @@ export function getLContainer(tNode: TViewNode, embeddedView: LView): LContainer
|
||||
* Retrieves render parent for a given view.
|
||||
* Might be null if a view is not yet attached to any container.
|
||||
*/
|
||||
export function getContainerRenderParent(tViewNode: TViewNode, view: LView): RElement|null {
|
||||
function getContainerRenderParent(tViewNode: TViewNode, view: LView): RElement|null {
|
||||
const container = getLContainer(tViewNode, view);
|
||||
return container ? container[RENDER_PARENT] : null;
|
||||
return container ? nativeParentNode(view[RENDERER], container[NATIVE]) : null;
|
||||
}
|
||||
|
||||
const enum WalkTNodeTreeAction {
|
||||
|
Reference in New Issue
Block a user