Innat
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Innat
-
-
Hello, I'm beginning with ScrollTrigger and I'm trying to create a fake horizontall scroll and I'm having trouble to handle window resize. Even though the scrollContainer width seems to be recalculated, it doesn't fit its right size and I don't get why. I've thought that put end value in a callback function and set invalidateOnRefresh to true should do the trick but it doesn't.
Thanks for your help and for this amazing product that is greensock !
See the Pen vYdxYbV?editors=0111 by heskir-the-bold (@heskir-the-bold) on CodePen
Window resize messes with ScrollTrigger horizontal x axis
in GSAP
Posted
Thank you a lot for this explanation ! It's seems so obvious right now ...