angular/packages
Andrew Scott af8afee5bd fix(router): Delay router scroll event until navigated components have rendered (#47563)
Currently, the scroll event is fired immediately after the
`NavigationEnd`. However, this is problematic because a change detection
has not been able to run, meaning that Angular will not yet have run the update
block of the component templates being rendered as part of the navigation.

This change delays the scroll event using a `setTimeout`, which will
allow Angular's change detection to run before the scroll restoration is
performed.

fixes #24547

PR Close #47563
2022-10-19 23:11:17 +02:00
..
animations feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
bazel build: update dependency @rollup/plugin-commonjs to v23 (#47711) 2022-10-11 23:09:06 +00:00
benchpress build: clean up references to old master branch (#45856) 2022-05-04 16:23:33 -07:00
common docs: exclude lifecycle hooks of the NgOptimizedImage from docs (#47814) 2022-10-19 23:08:52 +02:00
compiler fix(compiler): update element schema (#47552) 2022-10-11 17:21:47 +00:00
compiler-cli fix(compiler-cli): implement more host directive validations as diagnostics (#47768) 2022-10-17 12:12:22 +02:00
core docs: declare Standalone APIs as stable (#47754) 2022-10-17 12:15:20 +02:00
docs docs: fix packages\docs\di\di.md (#46704) 2022-07-08 17:53:39 +00:00
elements feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
examples feat(core): support object-based DI flags in TestBed.inject() (#46761) 2022-09-27 10:09:53 -07:00
forms feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
language-service feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
localize fix(localize): update ng add schematic to support Angular CLI version 15 (#47763) 2022-10-17 09:58:21 +02:00
misc/angular-in-memory-web-api build: update angular version of in-memory-web-api (#46344) 2022-06-13 17:40:09 +00:00
platform-browser docs: declare Standalone APIs as stable (#47754) 2022-10-17 12:15:20 +02:00
platform-browser-dynamic feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
platform-server feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
private/testing refactor(core): drop unused fields from the RootContext (#46806) 2022-08-05 09:58:06 -07:00
router fix(router): Delay router scroll event until navigated components have rendered (#47563) 2022-10-19 23:11:17 +02:00
service-worker feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
upgrade feat(core): add support for Node.js version 18 (#47730) 2022-10-11 17:21:19 +00:00
zone.js fix(zone.js): cancel tasks only when they are scheduled or running (#46435) 2022-10-11 17:20:54 +00:00
BUILD.bazel build: Auto-gen tsec tsconfig files (#43440) 2021-09-17 17:17:34 +00:00
circular-deps-test.conf.js build: ignore type only imports/exports for circular dependency checks (#47017) 2022-08-18 12:06:09 -07:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts refactor(core): replace references to goog.LOCALE with goog.getLocale() (#43089) 2021-08-10 10:35:26 -07:00
license-banner.txt build: bump license year (#44590) 2022-01-04 12:05:25 -08:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build.json build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
tsconfig-legacy-saucelabs.json build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
tsconfig-test.json build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
tsconfig-tsec-base.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00
tsconfig.json build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
tsec-exemption.json build: Enable tsec checks for critical packages. (#43108) 2021-09-13 14:45:57 -07:00
types.d.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT