Jump to content
GreenSock

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

csisz_zsolt

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

1 Newbie

About csisz_zsolt

  • Rank
    Newbie
  1. Hello there! I am new to GSAP and I want to animate a navbar to shrink whenever the user scrolls down and grow when the viewport is back at the top. So far, I have been trying ScrollTrigger to achieve this, and it works completely fine until I refresh the webpage on the middle. Since it does not scroll back to the top on refresh, the new viewport will be somewhere down on the page and not the top of the window and so my animation will not work perfectly in every situation. I am attaching some screenshots to show you what I mean exactly... And then after refr
×