fix(ivy): match directives on bindings and element outputs (#25614)
Closes #23560 PR Close #25614
This commit is contained in:

committed by
Matias Niemelä

parent
3634575d89
commit
6a0f78fabf
@ -85,8 +85,8 @@ export function compileComponent(type: Type<any>, metadata: Component): void {
|
||||
|
||||
// If component compilation is async, then the @NgModule annotation which declares the
|
||||
// component may execute and set an ngSelectorScope property on the component type. This
|
||||
// allows the component to patch itself with directiveDefs from the module after it finishes
|
||||
// compiling.
|
||||
// allows the component to patch itself with directiveDefs from the module after it
|
||||
// finishes compiling.
|
||||
if (hasSelectorScope(type)) {
|
||||
const scopes = transitiveScopesFor(type.ngSelectorScope);
|
||||
patchComponentDefWithScope(ngComponentDef, scopes);
|
||||
|
Reference in New Issue
Block a user