I'm writing a plugin which annotates elements using com.intellij.lang.annotation.Annotator
The tooltips I want to display are html that contain hyperlinks. Everything works fine — it's possible to hover a mouse over a tooltip and click on a link.
But if there's another annotated element below the one I'm hovering over, the tooltip disappears as soon as I move the mouse towards it to click on the link (to display the one below it).
Is there any way to prevent new tooltip from appearing if I'm still hovering over the old one?