Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Hide tippy on focusout from child element to fix #693 #694

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

iansan5653
Copy link
Contributor

This resolves the problem with the tooltip not disappearing when focus leaves the element. I was unable to write a test for this as I don't think it's possible to fire an event on one element while having the target of that event be a different element, but I could be wrong.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@iansan5653 iansan5653 requested a review from atomiks February 4, 2020 18:31
@atomiks atomiks merged commit a3e3df8 into atomiks:master Feb 5, 2020
@atomiks
Copy link
Owner

atomiks commented Feb 5, 2020

Thank you

@atomiks
Copy link
Owner

atomiks commented Feb 5, 2020

Just realized IE11 uses focusout for whatever reason (missing event.relatedTarget?)

I think there will be a problem with it 😭

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants