Jump to content
Search Community

marvet

Premium
  • Posts

    3
  • Joined

  • Last visited

1 Follower

About marvet

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

marvet's Achievements

  1. UPDATE Got it. It's not an issue with ScrollSmoother (or ScrollTrigger) which actually works perfect. We had a situation which was blocking the correct calculation. The good thing about this... now we know, that ScrollSmoother automatically update the body's height after changes to it.
  2. Thank you for your quick reply. You're pointing on ScrollTrigger, but in our case its's ScrollSmoother which causes the issue. We've tried adding your solution but it didn't had any effect. Also we've verified if the height is beeing calculated by ScrollTrigger (which we are also using in this project) or ScrollSmoother and it's latter. Somehow, only in some cases the height is not calculated correctly, in others it is.
  3. Hi there, we've started using the GSAP ScrollSmoother in one of our projects, what actually works fine. This project is a SPA, so all pages are loaded via AJAX and the pre-rendered HTML is injected into the page/DOM. In some cases, ScrollSmoother recalculates the height of the body correctly after the injection, in other cases the body's height is set to 2000px. The function of loading and injecting is always the same, even the contents (markup) are similar. Does anybody have a clue? Thank you in advance.
×
×
  • Create New...