mui / mui/material-ui

[Tooltip] Component fire on resize event of the iframe

Open
#23,266 6 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

Current Behavior 😯

When a user hover on button with tooltip the onresize event of the iframe fired

Expected Behavior 🤔

The onresize event shouldn't be fired

Steps to Reproduce 🕹

  1. Go to https://codesandbox.io/s/muddy-violet-hcnkt?file=/src/App.js
  2. Open the console.log
  3. Hover on the icon button

Context 🔦

Your Environment 🌎

Tech Version
Material-UI v5.?.?
React
Browser
TypeScript
etc.

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

Start by reproducing the behavior in the linked CodeSandbox and watch the console while hovering the icon button. Trace the Material UI Tooltip component's iframe resize behavior; done means hovering the button no longer fires the iframe's onresize event.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.