fix(view): fixed view instantiation to use the component template's change detector when creating BindingPropagationConfig
This commit is contained in:
+1
-1
@@ -449,7 +449,7 @@ export class ProtoView {
|
||||
lightDom = strategy.constructLightDom(view, childView, element);
|
||||
strategy.attachTemplate(element, childView);
|
||||
|
||||
bindingPropagationConfig = new BindingPropagationConfig(changeDetector);
|
||||
bindingPropagationConfig = new BindingPropagationConfig(childView.changeDetector);
|
||||
|
||||
ListWrapper.push(componentChildViews, childView);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user