angular/packages
Andrew Scott 0e439d78c2 Revert "fix(router): Scroller should scroll as soon as change detection completes (#55105)" (#57115)
This reverts commit 66ffeca2de.

It looks like nuxt encountered the same issue with scrolling when
waiting for Vue's `nextTick`, which is a microtask. This would have
similar timing to ZoneJS's rendering in the microtask queue. This
reverts to a `setTimeout` alone, though recreates the problem in #53985.
This was also mentioned in one of the comments in the Nuxt issue and the
solution would be `rAF`.

In order to address #53985, we'd likely want to use the `race(rAF, setTimeout)`
that we use in the zoneless and coalescing schedulers. This would have effectively the same timing as
the `afterNextRender` implementation here with zoneless, but quite
different timing to `afterNextRender` with ZoneJS.

fixes #57109

PR Close #57115
2024-07-24 10:04:38 -07:00
..
animations docs: remove private symbol from docs (#56851) 2024-07-08 09:54:13 +02:00
bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
benchpress refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
common fix(common): Don't run preconnect assertion on the server. (#56213) 2024-07-16 09:53:33 -07:00
compiler fix(compiler): limit the number of chained instructions (#57069) 2024-07-22 11:50:12 -07:00
compiler-cli refactor(migrations): use common import manager for schematics (#57096) 2024-07-23 12:17:41 -07:00
core refactor(core): Switch to using concat rather than spread operator for events. (#57103) 2024-07-23 15:54:23 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
examples refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
forms refactor(forms): Update status, touched, and pristine to use private setter (#56573) 2024-06-26 08:47:39 -07:00
language-service fix(compiler-cli): add warning for unused let declarations (#57033) 2024-07-23 08:27:17 -07:00
localize build: update babel dependencies (#57045) 2024-07-19 13:46:00 -07:00
misc/angular-in-memory-web-api build: bump in-memory-web-api to v18 (#56018) 2024-05-23 12:00:29 +02:00
platform-browser refactor(core): Add global event delegation provider (#56247) 2024-06-27 14:24:47 +00:00
platform-browser-dynamic refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
platform-server refactor(core): Refactor EarlyEventContract to prepare for using it as a container. (#56900) 2024-07-10 13:53:03 -07:00
private/testing refactor(docs-infra): remove reliance on aio example macro (#56496) 2024-06-18 12:25:59 -07:00
router Revert "fix(router): Scroller should scroll as soon as change detection completes (#55105)" (#57115) 2024-07-24 10:04:38 -07:00
service-worker docs: update broken link to version updates in versionEvent (#56870) (#56870) 2024-07-19 13:41:54 -07:00
upgrade refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
zone.js docs: fix changelog entry (#57038) 2024-07-18 11:12:29 -07:00
BUILD.bazel docs: Expose $localize in the @angular/localize/init entry. (#55345) 2024-07-16 08:43:52 -07:00
circular-deps-test.conf.js ci: complete migration to prettier formatting (#55580) 2024-04-29 14:00:16 -07:00
empty.ts
goog.d.ts
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +00:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08: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