Share Posted April 22, 2022 Hello Beautiful people. Is there any way to avoid ScrollSmoother to overlap when using multiple instances? Currently, it seems that is applying body container height to other instances (i.e: Modal cutting off) Thanks in advance See the Pen yLpraPy by victorwork (@victorwork) on CodePen Link to comment Share on other sites More sharing options...
Share Posted April 22, 2022 pretty sure you are only supposed to have one ScrollSmoother instance for the entire page found this in the FAQ in the docs Can ScrollSmoother be applied to the contents of individual elements instead of the whole web page? No, ScrollSmoother is intended to be used to smooth the scrolling on the overall page, not individual elements. 5 Link to comment Share on other sites More sharing options...
Author Share Posted April 22, 2022 Ohhh I didn't see it. My bad... Thanks Carl. @GreenSock Could I leave it as suggestion for next releases? Also the feature to lerp sections instead of the whole container. 😊 Link to comment Share on other sites More sharing options...
Share Posted April 23, 2022 Sections is coming Victor! 1 1 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