GSAP ScrollTrigger needed? #140
Replies: 2 comments
-
Very interested about this, one of the benefit of your lib is the weight but if we add 40ko of gsap + scroll trigger module.. Perhaps a vanilla example would be nice :) |
Beta Was this translation helpful? Give feedback.
-
I too am facing this in my next 13 app. The docs mention this in particular:
But as soon as I add this:
my animations start becoming janky. When I remove it, my animation seems to work fine so I'm wondering if there'll be any kind of problem down the line due to the removal of this particular code snippet? (I'm thinking some kind of sync problems but I can't imagine what though) |
Beta Was this translation helpful? Give feedback.
-
Hey Studio Freight team!
Thank you for releasing Lenis open source! I've always avoided smooth scrolling libraries because of accessibility concerns or random bugs where it would scroll really slowly on a trackpad for example. This is the first library I've used in that respect that I feel like answers all concerns. I also want to congratulate you on V1 release!
I just wanted to ask about the new GSAP section in the documentation (https://github.com/studio-freight/lenis#gsap-scrolltrigger-integration). I have integrated this but I actually feel like ScrollTrigger animations feel much smoother without it. I was wondering what was the reason for suggesting this implementation with ScrollTrigger?
Thanks,
Tom
Beta Was this translation helpful? Give feedback.
All reactions