Hi there,
Is there anyone who can tell me why animating a property to 0 ,doesn't get to 0?
I have a text 115% offscreen. I want to animate it to 0, so it can get to its intended position.
Thanks!
screenshot
example code:
tl.fromTo( el.current, {
duration: 3,
ease: "linear",
x: "115%",
},
{
x: "0%",
}
)
@Cassie
lol I spent more than 2 hours to come and find out that....... I forgot the .current on the scroller and trigger.
wow this is ridiculous 🙃🤣
thanks cassie!
Hi there,
I have searched all over the internet for hours without any luck.
My guess is it has something to do with the gsap.registerPlugin(ScrollTrigger)
I have attached some screenshots. I would appreciate any help.
Thank you!