Yea this is a problem which plagues basically everyone who starts using an external library. It’s called a “Flash of Unstyled Content”, it basically just means that there’s a couple milliseconds before gsap loads where your original styling is visible. So say you set gsap to animate something from 0 opacity, it’ll start at the value it is in the Webflow designer, go to 0 and then animate to 1.
There’s many ways to avoid it, but some good advice here
@DavidFerguson That’s useful, but can you give some insight in how to achieve this from inside the Webflow Designer please?
Or anybody… this topic is quite widespread but nobody seems to be dealing with it from inside the new Designer GSAP UI, which is where a lot of the people are experiencing this problem.
Check this thread here: FOUC in the new GSAP UI in Designer - #5 by frazerphrase
We have a solution to this in testing that will require no user action when using GSAP within Webflow. If yopu’re using it externally, you’ll still need some solution.
If anyone is happy to share their read-only links, it would be great to have more sites to test.
Just an update that Webflow now handles this automatically for you!
All animations that have a from animation setup, will now automatically be hidden until the GSAP module is ready to roll. We built this so it just works, you don’t need to toggle anything or figure out which element needs hiding, we take care of it all under the hood.