This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
CSS animations trigger on initial render due to more digest cycles #11492
Closed
Description
Angular waits two digest cycles before enabling the animations and that's great, but it results in unwanted behaviour if you have more than two cycles before first render(e.g. due to using templateUrl, routing etc).
What is the best practice to avoid the animations on initial render? Having everything animate in on first render becomes pretty tiresome.