I'm new for GSAP and have start building projects with it.
As building those, I found 2 questions wondering.
The demo I made is simulating following situation:
Users go to other page after scrolling to section 2, then come back to this page.( so the page leave on section 2 first)
Then call setScrollEffect() because I want the ScrollTrigger effects back.
As result, after calling the function, scroller jump back to section 1, which is not I expected.
What I expected is users seeing the section where they leave.
Is there any suggestion?
If there's any confusion, please let me know. I'll try my best to explain.
Thank you for reading and helping.