Skip to content

Delay option ignored in animation function #47283

@dario-piotrowicz

Description

@dario-piotrowicz

Which @angular/* package(s) are the source of the bug?

animations

Is this a regression?

No (at least I don't think it is)

Description

The animation function accepts a delay option which should delay the animation, but the option seems to be ignored (there are no errors thrown/displayed, the option simply doesn't produce any effect).

You can see the issue in this stackblitz reproduction, there if the delay is provided via the transition function then the animation works as expected, but it does not when the delay is provided via animation.

Peek 2022-08-28 12-51

Note: The useAnimation function seems to present the same exact issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions