Jump to content
Search Community

Height is not being seated well in TimeLine

Gabuardi test
Moderator Tag

Recommended Posts

I'm doing an animation to show an order summary, I want first expand the width and then the height to create a fancy effect but seems that height is being seated wrong because in the end of the animation it has an extra height not desired. Help! 

 

Both tweens works well individually but the problem is when I put them together.

 

Expected:

image.png.aa71179b2a1dd369163e119b34d2bd67.png

 

Current:

image.png.e52cf6e8b0364b77899806e098c8bee1.png

See the Pen MWYJMJK by GabuDev (@GabuDev) on CodePen

Link to comment
Share on other sites

Hey Gabuardi and welcome.

 

@GreenSock will need to look into this. It looks like it's getting the end height wrong because of the first tween for some reason. If height is included in the first tween it works fine. If the width tween is removed it works fine. The height is also the correct value before the first tween is ran so the tween is changing the height in a funny way so far:

See the Pen gObmpdv?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Sorry for any trouble that this caused you, Gabuardi! Thanks for bringing it to our attention.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...