-
-
Notifications
You must be signed in to change notification settings - Fork 538
Closed

Description
It actually works, but the default tooltip wrapper is a <div>
And this makes it problematic to use it within a <p>
tag.. In our case we need a tooltip for an img which is inner p tag.. we use span based template to show the tooltip content, but we get a warning message because the tooltip wrapper is a div.
Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>. See ReactMarkdown > p > ... > Image > ItemIconWithTooltip > ReactTooltip > div.
Metadata
Metadata
Assignees
Labels
No labels