Jump to content
Search Community

Caine

Premium
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Caine

  1. Hi @Rodrigo and many thanks for your answer!
    I understand your point, but while this affects easing, it does not resolve the issue.
    Problem is, green line is fully drawn before scrollTrigger reaches end.
    And I believe this is due to preserveAspectRatio:none, but this property must stay in order for the curve to be responsive and fit its parent container.
     

  2. Hello GSAP community!
    I need help finding solution to correctly animate path using drawSVG; since svg has preserveAspectRatio:none in order to be responsive and fit its container, looks like drawSVG is not calculating path length right and finishes animation too soon.

    Green line is the issue.
    I've searched the forum and couldn't find any solution for this, any help is appreciated.

    See the Pen VwNBzPB by gettonet (@gettonet) on CodePen

×
×
  • Create New...