Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline animations with duration = 0 not working #538

Open
davidmondok opened this issue Feb 20, 2019 · 0 comments
Open

Timeline animations with duration = 0 not working #538

davidmondok opened this issue Feb 20, 2019 · 0 comments

Comments

@davidmondok
Copy link

davidmondok commented Feb 20, 2019

This might be a duplicate of #228 but since that issue was posted back in 2017 and we're already at version 3 I thought I submit a new issue.

When I set the duration of a timeline animation to 0 I would expect the animation to be instant. This is not the case though. Instead the targeted elements instantly receives the properties defined in the last timeline animation where the duration was set to 0 (properties from all animations before that step are ignored regardless of their durations; the timing is kind of still respected though weirdly). You can see the behaviour I'm talking about in the linked codepen, it's the second animation.

I created https://codepen.io/damoondog/pen/mvgMdN to illustrate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant