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

268
Views
¿Por qué desplazarse hacia abajo más rápido que desplazarse hacia arriba con GSAP?

Soy nuevo en GSAP y JS en general, tengo algunos problemas para descubrir por qué tengo dos velocidades diferentes mientras me desplazo hacia arriba y hacia abajo.

También hay un problema una vez que se desplaza completamente hacia arriba que invierte automáticamente la animación, esto no es deseado.

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!