-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
[BUG] Tooltip doesn't close if nested dom elements are present #1220
Comments
Sorry for the delay. If this is still an issue, do you mind providing a simple sample project (on StackBlitz or CodeSandbox). That would help figuring out what's wrong. |
This issue is stale because it has not seen activity in 30 days. Remove the |
This issue is stale because it has not seen activity in 30 days. Remove the |
Bug description


Having the configuration defined on the screenshots above, when I use a nested element the tooltip doesn't close. I think it happens if the event target property is different than the element on which is defined the data-tooltip-id property. The open event works fine.
In the described situation, the tooltip for "e1" works fine, but not the "e2" element.
In fact, I tried creating a custom mouse click event directly on the element with the data-tooltip-id, and the tooltip closes fine.
Version of Package
5.28.0
Expected behavior
Closing event accepted also if the event arrives from another nested target element.
Desktop (please complete the following information if possible or delete this section):
The text was updated successfully, but these errors were encountered: