Tyler Smith
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Tyler Smith
-
-
@ZachSaucier thank you for getting back to me!
I've created a minimal demo here. If you pause and resume the child timeline, you can see a big jump because the parent is still calculating the child's position.
See the Pen VwavGEK by tylerlwsmith (@tylerlwsmith) on CodePen
Below is a first pass at language describing this behavior–I'd love to see something like this mentioned on the timeline pause() method page.
"When a timeline is nested within another timeline, the parent timeline will continue to calculate the animations of the child timeline, even if the child is paused."
-
Hey everyone,
Sorry to bring this thread back from the dead all these years later. I got stuck for four hours tonight before realizing that a bug I had in a paused timeline was caused by the parent continuing to tick away while the child was paused.
Is there a process for proposing changes to the Greensock documentation? I'd love to see this parent/child behavior mentioned on the timeline pause() method page.
Thanks all!
Pause nested timeline created from function call
in GSAP
Posted
@ZachSaucier that's super cool, thank you!!