Jump to content
Search Community

jens./

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by jens./

  1. Hi,

     

    I ran into an issue where my ScrollTrigger start/stop positions are incorrect after window resize. This only occurs in combination with ScrollSmoother. I checked some codepen demos and it also happens there. To reproduce open the pen, scroll down and then resize. It seems to work if you resize at the beginning of the page, when scrolled down the ScrollTrigger calculations seem to be broken after resizing.

    Can someone confirm? Is there a workaround? I tried ScrollTrigger.refresh on resize with no luck.

     

    Thank you

    See the Pen NWXgqyK by GreenSock (@GreenSock) on CodePen

×
×
  • Create New...