mui / mui/material-ui

Tooltip text jumps on scaled screen

Open
#26,699 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: tooltip type: bug
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Issue is reproduced on 80, 90, 110, 120% of scale. When element is hovered and tooltip shows up, the tooltip content text jumps a bit.

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

This behaviour can be check on material-ui page.

Peek 2021-06-11 14-18

Expected Behavior 🤔

No jumping, text is displayed with no issues.

Steps to Reproduce 🕹

Since I found it even on material-ui page I assume codesandbox is not required to verify.

Steps:

  1. Scale the page to be either 80%, 90%, 110% or 120%
  2. Find element wrapped with Tooltip
  3. Hover over this element

Contributor guide

Open the contributing guide

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

Reproduce the issue on the Material UI page by scaling the page to 80%, 90%, 110%, or 120%, then hovering an element wrapped with Tooltip. Trace the Tooltip implementation and verify that the text no longer jumps when the issue is fixed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.