Hi,
Just move the configs for duration, ease, scrolltrigger and stagger to the to config section:
gsap.fromTo(
titleSplit.chars,
{
y: -100,
},
{
y: 0,
stagger: 0.1,
duration: 1,
scrollTrigger: {
trigger: titleSplit.chars,
start: isDesktop ? 'left 80%' : 'top 80%',
end: isDesktop ? 'right 20%' : 'bottom 20%',
toggleActions: 'play reverse play reverse',
containerAnimation: isDesktop ? containerAnimation : '',
markers: true,
},
}
);
Here is a fork of your demo with those changes:
https://stackblitz.com/edit/stackblitz-starters-rdigb3?file=app%2Fpage.js
Hopefully this helps.
Happy Tweening!