Skip to content
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

Hide tooltip when anchor element is removed from the DOM #926

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

gabrieljablonski
Copy link
Member

Closes #924.

The MutationObserver API is supposed to be super optimized, so this should scale fine, but I still worry if there isn't a more efficient way to do this.

@gabrieljablonski gabrieljablonski self-assigned this Jan 30, 2023
@gabrieljablonski gabrieljablonski force-pushed the fix/remove-anchor-hide-tooltip branch from 5e206f1 to 1348916 Compare January 30, 2023 17:44
@gabrieljablonski gabrieljablonski force-pushed the fix/remove-anchor-hide-tooltip branch from 1348916 to 4d894de Compare January 30, 2023 17:45
@danielbarion
Copy link
Member

I don't know yet if there is a better way to do this, but the code looks good to me, feel free to merge when you want :)

@gabrieljablonski gabrieljablonski merged commit 9d5166f into master Jan 30, 2023
@gabrieljablonski gabrieljablonski deleted the fix/remove-anchor-hide-tooltip branch January 30, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] The tooltip remains displayed when deleting an element with WrapperTooltip
2 participants