-
-
Notifications
You must be signed in to change notification settings - Fork 535
Tooltip inside a <p></p> results in a warning #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Merged
Thanks, merged the PR, will release in 3.2.4 |
For future readers - to save the few minutes it took me to go read the docs. You can pass in the option |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
The text was updated successfully, but these errors were encountered: