-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: tooltipChanges related to the tooltip.Changes related to the tooltip.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Description
I want to wrap a component that receives title property with Tooltip. Tooltips throw warning that the component can not have title property. No, I can not rename the property.
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior 🤔
There should not be a warning if title attribute is not rendered into the DOM.
Current Behavior 😯
Even if the title is not rendered the warning is still thrown.
Steps to Reproduce 🕹
https://codesandbox.io/s/tootip-title-warning-22hsx
Context 🔦
See codesandbox.
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.2.X |
Is it even possible to solve? My idea is to check the element node title value after the element is rendered.
joshwooding and oliviertassinari
Metadata
Metadata
Assignees
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: tooltipChanges related to the tooltip.Changes related to the tooltip.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.