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

Wait before animate #6

Open
eolant opened this issue Apr 16, 2018 · 3 comments
Open

Wait before animate #6

eolant opened this issue Apr 16, 2018 · 3 comments
Assignees

Comments

@eolant
Copy link

eolant commented Apr 16, 2018

It would be nice if you can calculate new keyframe % with waiting before animation so it will work like animation delay does.

@will-stone
Copy link
Owner

Ah, I see. So as well as animate > wait > animate > wait ... it could go wait > animate > wait > animate. This makes sense (given the name of the project!). I think the reason I didn't do this is because animate-delay covers off this exact scenario.

I'm thinking of refactoring the site, as it's currently written using Angular 1, to React, as that's what I predominantly use now. This would be a nice addition when I get around to doing that.

Thanks.

@will-stone will-stone self-assigned this Apr 17, 2018
@eolant
Copy link
Author

eolant commented Apr 17, 2018

I think I encountered a nasty bug with Safari when I had to place quite complex animation only once and animation-delay wasn't behaving correctly so I switched to keyframe delay approach.
Thanks to your website I was able to calculate it relatively painlessly. I just swapped around some percentages like 100% - final delay keyframe % and added this to all other percentages and it started with 0%, value% { ... }. I think it should be a relatively straight forward enhancement. Looking forward to your implementation :)

@will-stone
Copy link
Owner

Ok, well that adds a bit more gravitas to the request. Thanks. It shouldn't take me long to redo the site in React, however, it's just fitting it in around my other side-projects. No ETA at the moment, but it's certainly something I want to do eventually.

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

No branches or pull requests

2 participants