Skip to content
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
@mathiasrando

Description

@mathiasrando

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions