[Tooltip] Component fire on resize event of the iframe
Open
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 🕹
- Go to https://codesandbox.io/s/muddy-violet-hcnkt?file=/src/App.js
- Open the console.log
- Hover on the icon button
Context 🔦
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v5.?.? |
| React | |
| Browser | |
| TypeScript | |
| etc. |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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