Jump to content
Search Community

Timeline.reverse leaves lines on page

Tobias H
Moderator Tag

Go to solution Solved by akapowl,

Recommended Posts

Posted

Hi, I am quite new to gsap.

One problem I have, is that when I reverse the timeline, or just make an animation, that scales something down. It leaves the outline on the element, multible times along the path in took. This makes the animation cumpletly useless, since it looks like crap. Im sure this is a bug, and can be fixed, but how?

 

I've linked the file below.

 

Thanks in advance :)

 

 

test.html

  • Solution
Posted

Hey @Tobias H Welcome to the forums.

 

This might be related to browser rendering - adding will-change in your css could help.

 

Here is a probably related thread. Let us know, if it helps solve your issues.

 

probably 

  • Like 3
Posted

@akapowl

Thanks, it doesn't show any lines anymore, after adding will-change to the css.

(in my case 'will-change: transform')

Thanks :)

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...