sammyrc Posted October 18, 2020 Share Posted October 18, 2020 I'm trying to understand why when animating stacked elements simultaneously results in a flicker of borders, particularly the last one. I'm guessing it's due to rounding somewhere along the way, but can't explain why it happens on some animations and not others. The codepen demonstrates the problem if you look at the bottom elements' borders. See the Pen rNLeEYv by sammyrc34 (@sammyrc34) on CodePen Link to comment Share on other sites More sharing options...
Solution PointC Posted October 18, 2020 Solution Share Posted October 18, 2020 Please try adding this to the top of your JS. gsap.defaults({ autoRound: false }); 3 Link to comment Share on other sites More sharing options...
sammyrc Posted October 19, 2020 Author Share Posted October 19, 2020 17 hours ago, PointC said: Please try adding this to the top of your JS. gsap.defaults({ autoRound: false }); Thank you, that did the trick! 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