calebjacob / tooltipster

A jQuery tooltip plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent click propagation

mrmagcore opened this issue · comments

Is there any way to prevent propagation when tooltipster is set to open on click? I can't find any documentation about it. I am putting tooltipster on a div within a div. The parent div has a click handler, and I see no way to stop a click on the tooltipster div from propagating to the parent div.

Hello,
"hello", "please", "thank you" are always appreciated :)
You'd have to bind a listener after you initialize Tooltipster, which would catch the click. Or you can configure your handler to ignore the click when it comes from the origin div.