Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

188
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda