Jump to content
GreenSock

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

SPR1NG9

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Newbie

About SPR1NG9

  • Rank
    Newbie
  1. Thanks, @akapowl There are two examples 1) https://codepen.io/spr1ng9er/pen/ExgGjyQ 2) https://codepen.io/GreenSock/pen/1dc38ca14811bc76e25c4b8c686b653d In the first example, there is no background for the scroll bar, but the second example has it, why? I'm talking about this part (from the second example) btw if i remove all pin from the second example will work fine and it won't have the background of scrollbar
  2. When I add pin to element background of scroll is visible Here's my code: gsap.registerPlugin(ScrollTrigger); function gsapanim(){ const locoScroll = new LocomotiveScroll({ el: document.querySelector(".scrollContainer"), smooth: true }); // each time Locomotive Scroll updates, tell ScrollTrigger to update too (sync positioning) locoScroll.on("scroll", ScrollTrigger.update); // tell ScrollTrigger to use these proxy methods for the ".smooth-scroll" element since Locomotive Scroll is hijacking things ScrollTrigger.scrollerProxy(".scrollContainer", { s
×