Jump to content
Search Community

Website web page started flickering on scroll after adding the smooth scroll javascript plugin in the website?

iamanisierra test
Moderator Tag

Recommended Posts

Hi @iamanisierra and welcome to the GSAP Forums!

 

Thanks for being a GSAP Club member and supporting GSAP!

 

Two things, first your live demo requests a user and password to access so we can't really see it.  Second, there is nothing we can do in a live website so it would be super helpful if you could create a minimal demo that clearly illustrates the issue. We don't need to see the entire project just a few coloerd divs that show the problem you're having. You can fork this codepen that loads all the bonus plugins:

See the Pen aYYOdN by GreenSock (@GreenSock) on CodePen

 

Also I see that you're using wordpress, maybe you're using elementor or another build plugin. Those can add extra styles like transition: all which will definitely collide with every GSAP animation as Jack explains in this thread:

 

Also be sure if the template you're using uses Bootstrap for the styles since it adds scroll-behaviour: smooth; to the html this can cause issues so you could look in to disabling this:

https://stackoverflow.com/questions/75366H493/disable-smooth-scroll-in-bootstrap-5-with-html-css-code

 

Hopefully this helps.

Happy Tweening!

Link to comment
Share on other sites

  • 2 weeks later...

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