angular/packages/core/src
Kristiyan Kostadinov 4bc5b4d93b fix(core): global listeners not being bound on non-node host elements (#42014)
We skip event listeners on non-element host nodes (e.g. `ng-container` or `ng-element`), because they don't map to a DOM node so there's nothing to bind the event to. The problem is that this also prevents listeners bound to global targets from being bound.

These changes add an extra condition to allow for the event to be bound if it has a custom event target resolver.

Fixes #14191.

PR Close #42014
2021-05-14 14:51:04 +00:00
..
change_detection refactor(core): remove the need for ɵɵinjectPipeChangeDetectorRef() (#41231) 2021-03-30 16:46:37 -07:00
compiler refactor(compiler): implement ngDeclareInjectable() (#41316) 2021-04-07 13:57:13 -07:00
debug Revert "perf(core): avoid storing LView in __ngContext__ (#41358)" (#41901) 2021-04-30 14:12:52 -07:00
di refactor(core): remove unnecessary cast (#41960) 2021-05-10 10:28:31 -04:00
i18n build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
interface docs(core): Fix typo in JSDoc for AbstractType<T> (#38541) 2020-08-20 09:30:17 -07:00
linker fix(core): Switch emitDistinctChangesOnlyDefaultValue to true (#41121) 2021-03-12 10:47:56 -08:00
metadata refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
reflection fix(core): detect synthesized constructors that have been downleveled using TS 4.2 (#41305) 2021-03-23 11:23:04 -07:00
render refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
render3 fix(core): global listeners not being bound on non-node host elements (#42014) 2021-05-14 14:51:04 +00:00
sanitization feat(core): manually annotate de-sugarred core tree-shakable providers with @pureOrBreakMyCode (#41096) 2021-03-08 10:30:08 -08:00
testability docs: Remove references to protractor from documentation (#41731) 2021-05-03 14:26:09 -07:00
util fix(core): address Trusted Types bug in Chrome 83 (#40815) 2021-02-12 16:59:58 -08:00
view fix(core): error if DebugRenderer2.destroyNode is called twice in a row (#41565) 2021-04-12 10:30:11 -07:00
zone fix(core): NgZone coaleascing options should trigger onStable correctly (#40540) 2021-02-22 10:01:31 -08:00
application_init.ts docs(core): add usage examples for APP_INITIALIZER token (#41095) 2021-03-08 09:58:18 -08:00
application_module.ts perf(core): use ngDevMode to tree-shake warning (#40876) 2021-02-17 11:41:28 -08:00
application_ref.ts perf(core): use ngDevMode to tree-shake warning (#40876) 2021-02-17 11:41:28 -08:00
application_tokens.ts docs: clean up api doc in core (#37053) 2020-06-30 12:11:15 -07:00
change_detection.ts fix(core): remove CollectionChangeRecord symbol (#38668) 2020-09-02 16:45:19 -07:00
codegen_private_exports.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
console.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.ts fix(core): do not error when ngDevMode is undeclared (#39415) 2020-10-27 10:45:18 -07:00
core_private_export.ts refactor(common): change missing NgSwitch provider error message (#41704) 2021-05-06 15:44:38 -04:00
core_render3_private_export.ts refactor(compiler-cli): introduce declaration function to declare class metadata (#41200) 2021-04-12 10:41:17 -07:00
di.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
error_handler.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
errors.ts refactor(core): reduce the number of circular deps (#38805) 2020-09-18 11:20:08 -07:00
event_emitter.ts refactor(core): remove deprecated rxjs signature usage in event emitter and make more minifier-friendly (#41450) 2021-04-07 11:53:09 -07:00
ivy_switch.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
linker.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata.ts refactor(core): move injectAttributeImpl to avoid cycles (#37085) 2020-11-19 12:19:42 -08:00
platform_core_providers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
r3_symbols.ts refactor(core): rename ɵɵInjectableDef interface to ɵɵInjectableDeclaration (#41316) 2021-04-07 13:57:12 -07:00
render.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
version.ts Revert "refactor(core): optimize calls to split and slice while computing version parts (#41208)" 2021-05-12 14:13:50 -04:00
zone.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00