Closed Zamiell closed 4 years ago
Hi, thank you for your message. Tooltipster is using the default click events, so these are what's generated by the browser. You'll have to work around this behavior by checking what happened exactly if it does not suit you. Thank you
Hello and thanks for the excellent library.
I'm using tooltipster v4.2.5.
If you create a tooltipster tooltip with the following options:
Some weird default behavior will occur.
1) If I click down outside the tooltip, and click up outside the tooltip, the tooltip will close. This appears to be the correct behavior. ✅ 2) If I click down inside the tooltip, and click up inside the tooltip, the tooltip will not close. This appears to be the correct behavior. ✅ 3) If I click down outside the toolip, and click up inside the tooltip, the tooltip will close. I'd lean towards this not being the correct behavior, but I'm unsure. ❓ 4) If I click down inside the tooltip, and click up outside the tooltip, the tooltip will close. This appears to be the wrong behavior. ❌
For example, consider the use case of an interactive tooltip with a
I believe it might be possible to manually fix this behavior using custom triggers, but I am opening this issue because I believe that tooltipster should have better default behavior.