SvenHenderickx
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by SvenHenderickx
-
-
Hello everyone,
I have a problem which I had for multiple projects already.
Whenever I use from in a timeline, combined with Scrolltrigger, it doesn't work. Using a timeline without scrolltrigger it seems to work fine.
The codepen I added is an example.
GSAP Example From (codepen.io)
I recreated the same example with .to instead of .from and you can see it works fine.
See the Pen dydQNro by svenhenderickx (@svenhenderickx) on CodePen
Can anyone help me with this problem?
Thanks in advance.
See the Pen rNGwBxG by svenhenderickx (@svenhenderickx) on CodePen
- 1
timeline.from not working in scrolltrigger
in GSAP
Posted
I seem to have found the problem myself...
invalidateOnRefresh: true should be removed
Maybe anybody can explain the behavior that this completely breaks the timeline.from and doesn't change anything for timeline.to
See the Pen MWQzJNP by svenhenderickx (@svenhenderickx) on CodePen