mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When Angular runs application synchronization automatically, animations are now guaranteed to be flushed, regardless of whether change detection was run on any components attached to `ApplicationRef`. This most frequently affects animations related to component removal where the DOM element for the component would previously not be removed due to animations not being flushed BREAKING CHANGE: Animations are guaranteed to be flushed when Angular runs automatic change detection or manual calls to `ApplicationRef.tick`. Prior to this change, animations would not be flushed in some situations if change detection did not run on any views attached to the application. This change can affect tests which may rely on the old behavior, often by making assertions on DOM elements that should have been removed but weren't because DOM removal is delayed until animations are flushed. fixes #58075 PR Close #58089 |
||
|---|---|---|
| .. | ||
| application_config.ts | ||
| application_init.ts | ||
| application_module.ts | ||
| application_ngmodule_factory_compiler.ts | ||
| application_ref.ts | ||
| application_tokens.ts | ||
| create_application.ts | ||
| platform_tokens.ts | ||
| tracing.ts | ||