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
v5: Tooltip issue when containing HTML #31558
Comments
It happens with any tag inside tooltip target. |
I seem to remember this being a browser bug, or at least an unexpected spec issue. As a possibly more robust and less invasive patch, try adding
which makes any child element of the tooltip trigger "transparent" to the mouse, so the mouse events don't get fired/blocked by child elements |
@patrickhlauke Wow!! Nice trick! It works like a charm. |
Just one more thing:
The modal's opening is fired by a button with tooltip. Any suggestion? |
@silviodelgado That problem is handled by the PR. It would be resolved when the pr is merged. |
@mznet Ok. Thank you! |
did you use try : HTML disabled attribute ? https://stackoverflow.com/questions/33692285/remove-css-hover-functionality-using-javascript |
Also, calling the |
@patrickhlauke is this the same issue as #31646? |
smells like it, yes |
I'm going to close this. I don't see any errors with 5.0.0-alpha3. |
When there are DOM nodes inside a tooltip container, the hover states of those nodes seems to conflict with the container.
Reproduced: https://jsfiddle.net/89mpekhg/1/
Steps to reproduce:
<strong>
tag (the tooltip goes awaymouseleave
, errors are thrown into the console (teardown of an already gone tooltipTemporary workaround:
Use the
trigger: 'manual'
option and handle themouseenter
andmouseleave
manually.The text was updated successfully, but these errors were encountered: