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 getting related reference/target on mouseleave #115

Merged
merged 2 commits into from
May 6, 2018

Conversation

hworld
Copy link
Contributor

@hworld hworld commented Apr 26, 2018

Getting the target for mouseleave in popovers and tooltips was only working on Chrome. It looks like it was a bug in tooltip.js that was eventually fixed. Pretty small change.

Relevant MDN: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/relatedTarget
Relevant line in tooltip.js: https://github.com/FezVrasta/popper.js/blob/master/packages/tooltip/src/index.js#L404

@Akryum Akryum merged commit 08273df into Akryum:master May 6, 2018
@Akryum
Copy link
Owner

Akryum commented May 6, 2018

Thanks! 👍

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.

2 participants