Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$animateCss options.delay doesn't work with transitions #12584

Closed
matsko opened this issue Aug 13, 2015 · 0 comments
Closed

$animateCss options.delay doesn't work with transitions #12584

matsko opened this issue Aug 13, 2015 · 0 comments

Comments

@matsko
Copy link
Contributor

matsko commented Aug 13, 2015

No description provided.

matsko added a commit to matsko/angular.js that referenced this issue Aug 14, 2015
…ed before class application

Applying a CSS transition delay after a reflow has hit occured where a
CSS class is added/removed doesn't work. This feature does however work
with keyframe animations. This patch ensures that the provided
`options.delay` value is applied beforehand.

Closes angular#12584
matsko added a commit to matsko/angular.js that referenced this issue Aug 14, 2015
…ed before class application

Applying a CSS transition delay after a reflow has hit occured where a
CSS class is added/removed doesn't work. This feature does however work
with keyframe animations. This patch ensures that the provided
`options.delay` value is applied beforehand.

Closes angular#12584
matsko added a commit to matsko/angular.js that referenced this issue Aug 14, 2015
…ed before class application

When `options.delay` is passed into `$animateCss`the delay style would be
applied after the add/remove CSS classes are evaluated (for transitions).
At this point it is too late for the delay to be picked up (this
functionality however does work with keyfarme animations).

This patch ensures that the provided `options.delay` value is
applied before the CSS classes are applied to the element.

Closes angular#12584
@matsko matsko closed this as completed in 0c81e9f Aug 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant