Is it possible to use a custom delay in useTrail? #1083
-
I tried like this but no success:
Any help is appreciated! Edit: I've added a gif to give a bit more context. I'm trying to create a staggering speech bubble effect but need more time between the items. I've chained three different trails together to get this effect. Maybe there is a cleaner way, let me know :). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If by items you mean those bubbles, then you need to use |
Beta Was this translation helpful? Give feedback.
-
@ajitid Thanks for your reply! I'm on |
Beta Was this translation helpful? Give feedback.
-
When
|
Beta Was this translation helpful? Give feedback.
When
isLoaded
istrue
your message bubbles need to appear, which makesuseTransition
a better solution here as it handles mount and unmount animations.