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

Is Delay in keyframes not supported? #224

Open
ousachev opened this issue Aug 18, 2020 · 1 comment
Open

Is Delay in keyframes not supported? #224

ousachev opened this issue Aug 18, 2020 · 1 comment

Comments

@ousachev
Copy link

ousachev commented Aug 18, 2020

I have Safari 12.1.2 my function animate not working,if i use delay in keyframes. For example:

document
.querySelector(".main__wrapper")
.animate(
[
{ filter: "blur(20px)", delay: 200 },
{ filter: "blur(15px)", delay: 400 },
{ filter: "blur(0px)" },
],
{
easing: "linear",
duration: 1000,
fill: "forwards",
}
);
And please talk to me,how i can to use duration in keyframes,it's very important for my work!
In Firefox and Chrome all works without problem!

With polyfill i have this problem in Safari -
image

@ousachev ousachev changed the title Delay in keyframes is not supported? Is Delay in keyframes not supported? Aug 18, 2020
@SalazarJosh
Copy link

I believe the delay is part of the timing properties. You have it on the keyframe objects.

What you're searching for is offset. Check out this example to learn more about offset.

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

2 participants