Jump to content
GreenSock

lijasonc

Flicker issue at end of autoAlpha Tween

Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

There seems to be a slight flicker once the animation is finished. This only seems to happen with HTML Videos. I was unable to reproduce the effect with other elements such as divs or imgs.

 

Has anyone come across this issue before?

See the Pen ZamrVy by kiwibread (@kiwibread) on CodePen

Link to comment
Share on other sites

Thanks for the demo. Very strange.

I really don't know what that is. It's gotta be something the browser is doing as I've looked in dev tools and GSAP is setting the right values.

 

 

Here is a side-by-side comparison with another video tweening to autoAlpha:.99 and another tweening to opacity:1. It seems that as soon as opacity hits 1 there is a slight jump.

 

video 1: autoAlpha:.99 (no jump)

video 2: autoAlpha:1 (jump)

video 3: opacity:1 (jump)

 

 

See the Pen dZQEyV?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Link to comment
Share on other sites

Update: only seeing this on Chrome (Mac). FireFox and Safari fine.

Link to comment
Share on other sites

Yep, weird browser rendering bug. Could just animate to opacity:0.999 to work around it. Not ideal, I know.  

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