Peter_dev

Results 5 comments of Peter_dev

If you using locomotive-scroll with GSAP, please use it, it works for me. ` ScrollTrigger.create({ trigger: "footer", start: "top bottom", end: "bottom top", once:true, onEnter: () => locoScroll.update() }); `

Hey @TubeStorm Are you using GSAP?

If so, please use above code I had wrote. And if possible, please divide code to div and footer. Before, I had the same issue like you and it could...

You can use Vanilla JavaScript instead. ![Annotation 2022-09-22 170349](https://user-images.githubusercontent.com/37152476/191692114-e04afda7-dd7b-4a6b-8234-ef1e3ded71c6.png)

@TubeStorm Or you can use locomotive-scroll call function instead. Please add data-scroll and data-scroll-id="second-footer" to second footer. Then add this code to JavaScript ``` ...... var f_flag = true; locoScroll.on('scroll',...