angular/packages/core/src
Andrew Scott 68d4a74411 fix(core): Ensure OnPush ancestors are marked dirty when events occur (#39833)
We currently only wrap the event listener in the function which ensures
ancestors are marked for check when the listener is placed on an element
that has a native method for listening to an event. We actually need to do
this wrapping in all cases so that events that are attached to non-rendered
template items (`ng-template` and `ng-container`) also mark ancestors for check
when they receive the event.

fixes #39832

PR Close #39833
2020-11-25 14:39:19 -08:00
..
change_detection docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
compiler feat(compiler-cli): support for partial compilation of components (#39707) 2020-11-24 13:05:49 -08:00
debug refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
di fix(core): Allow passing AbstractType to the inject function (#37958) 2020-11-24 10:42:21 -08: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 docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
metadata refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
reflection fix(ngcc): detect synthesized delegate constructors for downleveled ES2015 classes (#38463) 2020-08-17 10:55:40 -07:00
render refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
render3 fix(core): Ensure OnPush ancestors are marked dirty when events occur (#39833) 2020-11-25 14:39:19 -08:00
sanitization refactor(compiler): remove unnecessary trustConstantScript function (#39554) 2020-11-23 08:29:09 -08:00
testability build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
util feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
view refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
zone fix(core): remove duplicated noop function (#39761) 2020-11-19 12:14:12 -08:00
application_init.ts refactor(core): Replace non-null assertion operator with property initialization (#39730) 2020-11-18 09:14:41 -08:00
application_module.ts refactor(core): break i18n.ts into smaller files (#38368) 2020-08-10 15:07:42 -07:00
application_ref.ts feat(core): add shouldCoalesceRunChangeDetection option to coalesce change detections in the same event loop. (#39422) 2020-11-16 08:58:50 -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 feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
core_render3_private_export.ts feat(compiler-cli): support for partial compilation of components (#39707) 2020-11-24 13:05:49 -08: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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04: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): Remove circular dependency on render3 and ng_module (#39621) 2020-11-16 09:12:46 -08:00
render.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
zone.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00