Jump to content
GreenSock

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

Timeline.reverse leaves lines on page

Go to solution Solved by akapowl,

Recommended Posts

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

Link to post
Share on other sites

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
Link to post
Share on other sites

@akapowl

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

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

Thanks :)

Link to post
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.

×