futuris Posted November 15, 2022 Share Posted November 15, 2022 I know that scrollsmoother is based on browser native scroll. But is there any chance to move more pixels on one scroll than default (like other plugins for smooth scrolling do)? I'm asking because the websites with implemented scrollsmoother I've made (i.e. https://greenvit.pl, https://kolstal-domy.pl) got the feedback like: "feels very heavy when scrolled". Manipulating with smooth value didn't help. Those sites with other smooth scroll plugins (i.e. https://84.pl) didn't get that kind of feedback. I don't know exactly why, but indeed - if the smooth scroll is implemented - "faster" scrolling (which means more scrolled pixels at one time) is just more enjoyable experience. If no smooth scroll is implemented - than native scroll speed is just fine. So, any ideas? Link to comment Share on other sites More sharing options...
Rodrigo Posted November 15, 2022 Share Posted November 15, 2022 Hi @futuris and welcome to the GreenSock forums! First, thanks for being a Club GreenSock member and supporting GSAP! 🥳 I think is better for @GreenSock to answer this as I'm not aware of anything in the API for that purpose, but maybe there is some secret ingredient somewhere that could do that. Please stand by. Happy Tweening! Link to comment Share on other sites More sharing options...
GreenSock Posted November 16, 2022 Share Posted November 16, 2022 It isn't currently possible, but I suppose we could add a speed property that's affect the body.height value and scale things accordingly. I've spent some time adding that experimental feature into this beta file which you can test on CodePen/CodeSandbox: https://assets.codepen.io/16327/ScrollSmoother.min.js So you just add a speed value like: ScrollSmoother.create({ smooth: 2, speed: 3 // 3x the normal scroll speed }); Does that work well for you? I can't guarantee this feature will be included, but it seems like it could be useful and we welcome input. 2 1 Link to comment Share on other sites More sharing options...
futuris Posted November 16, 2022 Author Share Posted November 16, 2022 Thanks, works like a charm! And for me - it's a ScrollSmoother must-have! And the big reason not to look at other scroll smoothing solutions like locomotive etc.. Anyway, thanks for amazing support! 2 Link to comment Share on other sites More sharing options...
GreenSock Posted December 23, 2022 Share Posted December 23, 2022 @futuris, we snuck this into the 3.11.4 release, FYI. It's officially available. 🥳 2 1 Link to comment Share on other sites More sharing options...
futuris Posted December 23, 2022 Author Share Posted December 23, 2022 3 hours ago, GreenSock said: @futuris, we snuck this into the 3.11.4 release, FYI. It's officially available. 🥳 great! 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