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

276
Views
How to activate animation on Animate on Scroll library on up scroll

I want the animation to be triggered in both down and up scroll but AOS b default on triggers animation on down scroll.

This is my code

 <div className={css.arrow} data-aos="fade-up">
     <Image src={img5} alt="img5" />
 </div>

I tried putting data-aos-mirror="true" as per this stackoverflow enter link description here but it did not work.



<div className={css.arrow} data-aos="fade-up data-aos-mirror="true">
     <Image src={img5} alt="img5" />
 </div>

Also did this but its not working

useEffect(()=>{
AOS.init({
  debounceDelay: 50, // the delay on debounce used while resizing window (advanced)
  once: false, // whether animation should happen only once - while scrolling down
  mirror: true, // whether elements should animate out while scrolling past them

});
}
,[])

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!