Can I make my tooltip ignore itself on mouseover?

Hi All,

I have this tooltip for a scatter chart, it works well, except when the mouse moves over the tooltip.
An option would be to display it outside the circle, but I wonder if I can just make it ignore itself on mouseover?
Is that possible?

Many thanks in advance for any help and tips you can provide.

hmm, it doesn’t change my new version somehow, I saved above with a larger radius, hope you can see what I mean still.

1 Like

Give your tooltip the following CSS property:

    const tooltip = // ...
      // ...
      .style('pointer-events', 'none')

By the way, it looks like you never remove your added tooltips? Have you considered using Plot Tooltip / Mike Freeman / Observable ?

1 Like

Thanks a lot! Also for the tip, I’ll check it out!