I currently have a custom tooltip which appears when a user hovers over text, and disappears when the cursor goes elsewhere. However, because of the spaces between text, the tooltip disappears and reappears in a very jittery fashion.
What behavior should I keep in mind to avoid this? It seems that the only way to have hover()
activate on a block of text is to have it when the cursor goes over the actual character (and hides when it reaches a gap).