DEV Community

Discussion on: Custom Transitions And Staggered Transitions In Svelte(with AnimeJs)

Collapse
 
irvingarmenta profile image
Irving Armenta

Thanks for the article!
I'm starting to use Svelte to make my personal page, very simple one.

I'm used to using AnimeJS on React, and there are some caveats that I know how to fix in React, but in svelte I'm not sure.

it seems that there is no timeout for the transition, so when triggering the "reverse" function animation it does not wait for the animation to be completed to hide it, I've been looking in Svelte docs but it seems there is no way to add a timeout, do you know how to solve this?
Thanks!