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

455
Views
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
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!