Huangism Posted May 27, 2020 Share Posted May 27, 2020 I am just trying to set transform to none but it doesn't seem to be working (I suspect this is intentional). Is it possible to do with gsap as part of a timeline? The issue I was experiencing is that I have a container which has a transform and setting positioned fixed on children don't work as expected due to the transform on the parent. So now I am trying to remove the transform during the animation(not animating the parent) See the Pen KKdLbdL by Huangism (@Huangism) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted May 27, 2020 Share Posted May 27, 2020 Hey Huangism. Try clearProps: "transform" or clearProps: true (to clear all inline styles) 1 Link to comment Share on other sites More sharing options...
Huangism Posted May 27, 2020 Author Share Posted May 27, 2020 37 minutes ago, ZachSaucier said: Hey Huangism. Try clearProps: "transform" or clearProps: true (to clear all inline styles) this worked perfectly, the reverse was also fine since I set my values before clearing props, thank you 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now