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

76
Vistas
Mui v5 - TreeView - Scroll so recent expanded is on top

The functionality I'm trying to achieve is that when I click on a TreeItem that has children and expand it, a scroll accures so that the expanded item is shown on top. How can I implement that?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can make some component in App.(j|t)sx and there make this function

useEffect(() => {
    sctollOnTop();
});

and that will rescroll on every rout change... if you don't need to run it on scroll change just make some other function and reuse that on each open of item.

about 4 years ago · Juan Pablo Isaza Denunciar
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