Skip to content

Tooltips are sometimes left hanging#9

Open
ivaynberg wants to merge 1 commit intodrewwilson:masterfrom
42Lines:ac044aafe07d20b555a6d8a7b5256ee2f3fd7763
Open

Tooltips are sometimes left hanging#9
ivaynberg wants to merge 1 commit intodrewwilson:masterfrom
42Lines:ac044aafe07d20b555a6d8a7b5256ee2f3fd7763

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