Open cysabi opened 1 year ago
For example, this code below works fine for certain targets, but sometimes, the animation will just not work.
Can you share a CodePen or similar showcasing your problem?
(Children callbacks in TL has been greatly improved in the upcoming V4.)
i can try! it's quite tricky for me to understand where the issue is exactly coming from and how to isolate it, but i'll see what i can do
For example, this code below works fine for certain targets, but sometimes, the animation will just not work.
Can you share a CodePen or similar showcasing your problem?
(Children callbacks in TL has been greatly improved in the upcoming V4.)
It would be fantastic to see your V4!
Describe the bug Callbacks run at unexpected times when introduced in a timeline
For example, this code below works fine for certain targets, but sometimes, the animation will just not work. From my testing it seems to be those that are classes, but that's anecdotal
However, if I decide to move the second timeline event into the
complete
callback, and readjust accordingly, everything works fine.Additional context https://github.com/cq-overlays/cg-offthedial/blob/701908701fc5434a5ecc34e6af5851ebcad1b778/src/break.jsx#L79-L98