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

187
Views
bootstrap carousel stops auto-rotation when router changes

I have a rails backend and a react frontend. I have implemented client-side routing with react-router-dom version 6.0.2. I am trying to include bootstrap carousel on the Home page of the application. The carousel auto-rotates perfectly fine on initial load. However, when I click a link and then return to Home, the auto-rotation stops. If I manually click either one of the rotation buttons, the auto-rotation returns.

I have only included react-router-dom and bootstrap version 5.1.3 in the app. Bootstrap works just fine. So I have ruled that out as a problem. I am also not changing anything on the bootstrap component, except class to className.

I have not uploaded any code because everything has been copy and paste.

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!