Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Sveninyo

Flickering with GSAP/barba.js page Transition

Recommended Posts

Hello,

I made a simple page transition (block reveal) animation with GSAP and barba.js.

The animation works fine, but I have a flickering effect because the new page loads before the "leave" animation is done.

I don't know how to fix this ... maybe a JS wizard could help?

I attached the file.

 

Thanks,

 

page transition.zip

Link to comment
Share on other sites

Hey Sveninyo. That zip file is unavailable. 

 

In general you can fix this sort of thing by making sure that inline styles or a class that hides the content is applied to the new content that's loaded. Then, when you're ready to show it, you can animate it in.

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