futuris Posted November 18, 2022 Share Posted November 18, 2022 In the meantime for (hopefully) implementing the speed parameter in ScrollSmoother I discovered the lenis smooth scrolling library. Looks nice. So my question is - do you think that scrolltrigger could work together with lenis? Or is it a bad idea to mix them up? Link to comment Share on other sites More sharing options...
Reksa Andhika Posted November 18, 2022 Share Posted November 18, 2022 Hi @futuris, Lenis run in native browser scroll for smooth scrolling, so there will be no issue using ScrollTrigger as combo, I have tested it with trigger, pin, scrub, everything works fine. 3 Link to comment Share on other sites More sharing options...
futuris Posted November 18, 2022 Author Share Posted November 18, 2022 Thanks @Reksa Andhika I will have to test that combo too. And wait till the ScrollSmoother has new features (speed control is what I personally lack most) Link to comment Share on other sites More sharing options...
Reksa Andhika Posted November 18, 2022 Share Posted November 18, 2022 No problem, you can check my example here See the Pen gOzmeyv by reksaandhika (@reksaandhika) on CodePen 1 Link to comment Share on other sites More sharing options...
Rodrigo Posted November 18, 2022 Share Posted November 18, 2022 @Reksa Andhika thank you for sharing your example! 🥳 I'm sure many users will find it very useful. Happy Tweening! 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now