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

114
Views
How to autoscroll with Javascript a Class of ReactJS project

I have a web page that I want scroll automatically but the webpage is in reactjs. It has a classname called "ReactVirtualized__Grid__innerScrollContainer", I just want create a script for scroll down automatically but it doesn't work!

I will put my code:

  function autoScrolling(){
    var element = document.getElementsByClassName("ReactVirtualized__Grid__innerScrollContainer")[0];
    element.scrollTo(0, 1000);
    //window.scrollTo(0, element.scrollHeight);
  }
autoScrolling();

But it only prints a number but doesn't do nothing... I tried a lot of things but nothing works...

Thanks!

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!