Jump to content
Search Community

ScrollTrigger smoothscroll problem

Darrren test
Moderator Tag

Recommended Posts

Sorry, but that will not work with overflow hidden on the body. That code has to use the actual body for scrolling. You might be able to adjust the code, like changing any references to body to the container that would have the actual scrollbars, but I can say for certain how well it would work.

 

document.body.style.height = height + "px";

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...