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

Fix tooltip in separate window #356

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

aullman
Copy link

@aullman aullman commented Sep 19, 2019

I have a situation where I'm rendering some tooltips in a separate window. They won't disappear because document.body does not contain the tooltip because it's a separate window. But tooltipNode.ownerDocument.body does. So I figure this small change should keep the existing logic but also work for separate windows.

Please let me know if you think I should add a test or anything. Thanks for the great library!

@Akryum Akryum merged commit df00918 into Akryum:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants