fix(core): ensure that component views that have no bindings recurse into nested components / view containers.
This commit is contained in:
@ -557,7 +557,8 @@ function generateDetectChangesMethod(view: CompileView): o.Statement[] {
|
||||
view.updateContentQueriesMethod.isEmpty() &&
|
||||
view.afterContentLifecycleCallbacksMethod.isEmpty() &&
|
||||
view.detectChangesRenderPropertiesMethod.isEmpty() &&
|
||||
view.updateViewQueriesMethod.isEmpty() && view.afterViewLifecycleCallbacksMethod.isEmpty()) {
|
||||
view.updateViewQueriesMethod.isEmpty() && view.afterViewLifecycleCallbacksMethod.isEmpty() &&
|
||||
view.viewContainers.length === 0 && view.viewChildren.length === 0) {
|
||||
return stmts;
|
||||
}
|
||||
stmts.push(...view.animationBindingsMethod.finish());
|
||||
|
Reference in New Issue
Block a user