Jump to content
Search Community

jh-thank-you

Plus
  • 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,
×
×
  • Create New...