angular/packages
Jessica Janiuk 6fed986b7a fix(core): Fixes animations in conjunction with content projection (#63776)
Content Projected nodes are not destroyed and recreated, like every other
situation. Enter and Leave animations were ephemeral and are
expected to run once, and then be cleared. This means that for content projection
cases, the animations would only ever work the first time they were shown / hid.

In order to resolve this, we move to an animation queue that re-runs the animation
functions stored in the LView. In most cases, this animation will run once on creation.
For content projection, the enter and leave animations will fire more than once. Animations
are stored on the LView, but indexed and scheduled by whichever RNode needs to be animated.
So we only run animations for an affected RNode, rather than potentially all in the LView.

This also moves the queue to afterRender, which is safer than right after template
execution in refreshView.

fixes: #63418
fixes: #64065
fixes: #63901

PR Close #63776
2025-10-02 16:56:01 +00:00
..
animations fix(core): prevent animations renderer from impacting animate.leave (#63921) 2025-09-19 21:26:20 +00:00
benchpress docs(benchpress): Remove TODOs in Statistic (#63534) 2025-09-15 20:36:18 +00:00
common fix(core): fix narrowing of Resource.hasValue() (#63994) 2025-09-23 14:20:55 +00:00
compiler fix(compiler): recover template literals with broken expressions (#64150) 2025-09-30 16:01:50 -04:00
compiler-cli refactor(compiler-cli): include linkedSignal in the signal debugName transformer (#64106) 2025-09-30 14:52:16 -04:00
core fix(core): Fixes animations in conjunction with content projection (#63776) 2025-10-02 16:56:01 +00:00
docs/di
elements refactor(core): Update tests for zoneless by default (#63672) 2025-09-09 15:07:24 -07:00
examples refactor(common): update NgIf, ngComponentOutlet and ngTemplateOutlet examples and remove redundant standalone flag (#64155) 2025-10-01 13:22:44 -04:00
forms docs: add warning to AbstractControl.setErrors (#64063) 2025-09-25 16:29:53 -04:00
language-service build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
localize build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
misc/angular-in-memory-web-api build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
platform-browser refactor(core): dispatch enter and leave animations at the right times (#63710) 2025-09-10 22:24:31 +00:00
platform-browser-dynamic refactor(core): Update tests for zoneless by default (#63672) 2025-09-09 15:07:24 -07:00
platform-server fix(core): do not rename ARIA property bindings to attributes (#64089) 2025-09-25 14:51:13 -04:00
private/testing build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
router docs: add alert about routelinkactive being a content query (#63829) 2025-09-16 15:15:24 +00:00
service-worker refactor(bazel): reduce build deps (#63348) 2025-08-28 09:16:10 -07:00
ssr/docs build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
upgrade refactor(core): Update tests for zoneless by default (#63672) 2025-09-09 15:07:24 -07:00
zone.js refactor(core): Update async-test.ts to use globalThis polyfill (#57505) 2025-09-16 15:10:05 +00:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
circular-deps-test.conf.js docs(docs-infra): lift circular imports (#63186) 2025-08-19 07:58:47 +00:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt docs: update website URL in license banners (#64183) 2025-10-02 07:56:59 -07:00
package.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
tsconfig-build.json build: migrate to using new jasmine_test (#62131) 2025-06-19 10:06:27 +02:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig.json refactor: use zone.js from npm instead of packages/zone.js throughout repo (#61977) 2025-06-10 12:02:03 -07:00
tsec-exemption.json
types.d.ts build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +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