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

465
Vistas
React tooltip - change tooltip position with cursor on hovering on element

I have a requirement where I am showing the tooltip on the progress bar when we hover on the progress bar but I want the tooltip to move with the cursor position on hovering on progress bar.

Right now I have placed the tooltip in the middle of element by default.

I got the solution of my requirement in Mui5 Tooltips (hover tooltip) but I have Mui4 installed and I cannot change that. Hence looking for other solution.

Below the screenshot of the UI(progress bar) and the code.

enter image description here

<Tooltip
      title={' i am tooltip text'}
    >
        <div className="progress-bar">
          {plotProgressBar(data?.infoValue)}
        </div>
    </Tooltip>

Please let me know how can we do this or give me some reference where I can read and implement the same.

about 4 years ago · Santiago Gelvez
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