angular-docs-cn/packages/router/test
Manduro 80d0067048 fix(router): `RouterLinkActive` should run CD when setting `isActive` (#21411)
When using the routerLinkActive directive inside a component that is using ChangeDetectionStrategy.OnPush and lazy loaded module routes the routerLinkActive directive does not update after clicking a link to a lazy loaded route that has not already been loaded.

Also the OnPush nav component does not set routerLinkActive correctly when the default route loads, the non-OnPush nav component works fine.

regression caused by #15943
closes #19934

PR Close #21411
2020-06-25 11:56:26 -07:00
..
aot_ngsummary_test build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
operators build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
utils build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
BUILD.bazel test(router): fix router test failing on IE (#36742) 2020-04-23 12:13:27 -04:00
apply_redirects.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
bootstrap.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
config.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
create_router_state.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
create_url_tree.spec.ts fix(router): remove parenthesis for primary outlet segment after removing auxiliary outlet segment (#24656) (#37163) 2020-06-18 16:02:19 -07:00
helpers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
integration.spec.ts Revert "fix(router): fix navigation ignoring logic to compare to the browser url (#37408)" (#37650) 2020-06-22 10:47:47 -07:00
recognize.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
regression_integration.spec.ts fix(router): `RouterLinkActive` should run CD when setting `isActive` (#21411) 2020-06-25 11:56:26 -07:00
router.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
router_preloader.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
router_scroller.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
router_state.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
shared.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
spy_ng_module_factory_loader.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
url_serializer.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
url_tree.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00