Hello anyone! I need some help to find my mistake.
I have several div's with same height (100vh) that control other div's with content. Everything work great, but when you try to resize window, ScrollTrigger resets the previous scrolled div's with content to initial position.
ScrollTrigger issue on window resize
in GSAP
Posted
Hello anyone! I need some help to find my mistake.
I have several div's with same height (100vh) that control other div's with content. Everything work great, but when you try to resize window, ScrollTrigger resets the previous scrolled div's with content to initial position.
See the Pen MWOjYgd by seitshaev (@seitshaev) on CodePen