Hello dear members,
I've been trying to use smooth scrollbar with scroll trigger,
So basicly, I'm trying to pin a paragraph then animate it but even though I am using scrollerProxy function properly,
instead of using translate3d function, scroll trigger uses position: fixed, and since position: fixed doesnt work with smooth scrollbar
the whole section dissappears.
Is there any way to fix this? (I honestly couldn't understand what I'm doing wrong, scrollTrigger uses tra
Well, I am not 100% sure, but I think this is related to using smooth-scrollbar on the body element itself.
Not that it is directly related to GSAP's ScrollTrigger, but idiotwu, the creator of smooth-scrollbar, himself advises on not doing so.
Edit:
I've gotta correct myself on this.
I thought, I remembered reading this in one of the issues of smooth-scrollbar over on Github, but actually the context was a whole different with what the creator said - and document.body