Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

277
Views
Why scrolling down faster than scrolling up with GSAP?

I'm new to GSAP and JS in general, I'm having some problems figuring out why I have two different speeds while scrolling up and down.

There's also a problem once it scrolls all the way up that automatically reverse the animation, this is not wanted.

https://codepen.io/Mahanon/pen/rNdedwa

gsap.registerPlugin(ScrollTrigger);
gsap.to('#bottom', {
    "top": "0",
    duration: 1.3,
    ease: Quart.easeOut,
    scrollTrigger: {
        trigger: '#bottom',
        start: 'top bottom',
        end: 'top top',
        toggleActions: 'restart reverse restart reverse'
    },
});
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!