Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Łukasz

Members
  • Posts

    3
  • Joined

  • Last visited

Łukasz's Achievements

  1. After installing the .tgz file the problem is gone. I'll let you know if any other issues come up. Thanks
  2. Hi everyone, my project is built with Next.js. After updating gsap from 3.6.1 to 3.7.0 I encountered a problem with scroll position. Next.js scrolls to top by default after navigation to another page, but that no longer works when I have gsap 3.7.0. New page maintains the scroll position of the previous one. Here are two demos: one that demonstrates the correct behaviour with gsap 3.6.1 https://codesandbox.io/s/gsap-361-38gq7 and another one with the unwanted behaviour with gsap 3.7.0 https://codesandbox.io/s/gsap-370-vzw7s Adding ScrollTrigger.refresh(); which helped in the case linked below, hasn't solved my problem. Any ideas how to bring back the good old behaviour? Thanks a lot! Lukasz
×