Jump to content
GreenSock

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

jh-thank-you

SimplyGreen
  • Posts

    102
  • Joined

  • Last visited

Community Answers

  1. jh-thank-you's post in Unexpected Path Result for Tween was marked as the answer   
    GSAP Team,
     
    I have forked Blake's CodePen and added in the necessary calculations (taking scroll amount into consideration) for the final centering position.
     
    Here is the CodePen Link: 
    See the Pen QpLJGK?editors=1111 by jh-thank-you (@jh-thank-you) on CodePen
     
    This seems to be smooth (no jank) as it does not use scale, it uses the Height and Width properties.
     
    Thanks again Blake for pointing me in the right direction.
     
     
    All the best,
×