react-component / react-component/tooltip

Tooltip Positioned Incorrectly When Browser is Zoomed In

Open
#480 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
944
Forks
199
Avg merge
19h 1m
Merged PRs (30d)
3

Description

When using the tooltip in Chrome with the browser zoomed in 125% the tooltip infinitely repositions itself causing the tooltip to jump around the page. Also when the tooltip has a max-width set the tooltip jumps around the screen.
https://stackblitz.com/edit/vitejs-vite-jhs2du?file=src%2FApp.jsx

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz reproduction in src/App.jsx and reproduce the tooltip behavior in Chrome at 125% zoom and with a max-width set. Trace the tooltip positioning entry point from that reproduction, then verify that the tooltip remains stable in both cases without jumping or endlessly repositioning.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.