fix(ivy): host bindings should support content children and content hooks (#27065)
PR Close #27065
This commit is contained in:

committed by
Andrew Kushnir

parent
f80c6008af
commit
8b9249a670
@ -83,8 +83,6 @@ export function refreshDescendantViews(viewData: LViewData, rf: RenderFlags | nu
|
||||
executeInitHooks(viewData, tView, creationMode);
|
||||
}
|
||||
|
||||
setHostBindings(tView, viewData);
|
||||
|
||||
refreshDynamicEmbeddedViews(viewData);
|
||||
|
||||
// Content query results must be refreshed before content hooks are called.
|
||||
@ -93,6 +91,8 @@ export function refreshDescendantViews(viewData: LViewData, rf: RenderFlags | nu
|
||||
if (!checkNoChangesMode) {
|
||||
executeHooks(viewData, tView.contentHooks, tView.contentCheckHooks, creationMode);
|
||||
}
|
||||
|
||||
setHostBindings(tView, viewData);
|
||||
}
|
||||
|
||||
refreshChildComponents(tView.components, parentFirstTemplatePass, rf);
|
||||
|
Reference in New Issue
Block a user