Hello everyone,
I use GSAP since a while now but i still wondering... I use scrollMagic to animate scrolling page and i do something like that :
var scene = new ScrollMagic.Scene({
triggerElement: "#element",
triggerHook: "onEnter",
duration: "100%"
}),
sceneTl = new TimelineMax();
sceneTl.from("#element", 1, { y: 50, ease: Power4.easeInOut });
But... i don't understand why when i use this triggerHook, my animation always start later and finish too soon. On my 100%, it animation around 70-80% of it. Is thre a reason for that? Is there a way to really start my animation when it's trigger and finish at the end?
Thanks for helping!