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

Tooltips are sometimes left hanging #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivaynberg
Copy link

we have a usecase like this:

  • we have the tooltip on a div
  • the div has an anchor in it that opens a modal

what happens is:

  • the user moves over the div which opens the tooltip
  • the user clicks on the anchor inside the tooltip which opens the modal
  • since no mouseout occurred the tooltip is left open and due to various css issues it has a hire zindex then the modal so it is floating over the modal with no way to close it

the attached commit closes the tooltip whenever a user clicks or doubleclicks anywhere.

@danimesq
Copy link

Hi, @ivaynberg
I've forked TipTip to maintain it and use in all web projects of my community.
Please clone your pull request to: https://github.com/Software-js/TipTip
Thanks!

@danimesq
Copy link

Merge in: Floflis#10.

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