Jump to content

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

How to fix the dynamix height issue

Recommended Posts

I am trying to fix the dynamic height which keeps on decreasing as the animation proceeds. I had set the display property as none at the end of my Sequence but it keeps on getting the display property as flex.


Temporary solution that I have is to set the height of the wrapper and set overflow to none, but I would like to know the exact way it is done not by the hack.



See the Pen QWympZB by bhanu-krenovate (@bhanu-krenovate) on CodePen

Link to comment
Share on other sites

Hey Bhanu and welcome to the GreenSock forums. mvaneijgen is right - using CSS to put them where you want them to be is the right approach. In general I'd use absolute positioning to do this sort of thing because grid isn't perfectly supported in IE, but it has pretty good support.

  • Thanks 1
Link to comment
Share on other sites

Thanks @ZachSaucier and @mvaneijgen for showing me the right direction. This is my first animation with GSAP.


I will use the advice to position the content at the position before animating in future animations.



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.