Jump to content
Search Community

eo33

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by eo33

  1. By setting:
     

    start: "top 70%" ,
    end: "bottom 70%",
    ease: "none"

    the svg will always draw at 70% viewport height.

    Pinning + using once: "true"creates a tonne of space above which I suppose I could change with an onComplete callback function (I think) but I really don't want to use pinning as I'd prefer the scroll speed of the element to change, thus meaning the SVG path draws slower. 

  2. I have a DrawSVG ScrollTrigger animation and I want to scrub through the animation much much slower than scroll speed. 
    It takes up 100vh and I would like it to scroll through 100% after 500vh of scrolling. 

    I tried wrapping the document in a ScrollSmoother wrapper and set data-speed for the containing div but it didn't work.

    Any pointers?

  3. Cassie I tried this in my local project and the error persists.
    However, when I removed the fromTo() animation most of it started working, but it did break a few other things.
    1. My navbar doesnt seem to want to be sticky anymore even though its position: fixed
    2. Some of my other animations broke too. 

    I am going to try to patch it up and see why they are breaking, but the errors are gone at least

     

    • Like 1
×
×
  • Create New...