JEFworks / ubit2

User-friendly Bioinformatics Tools
http://pklab.med.harvard.edu/jean/ubit2/index.html
18 stars 6 forks source link

Potential fix for jittery tooltips #27

Closed Shians closed 7 years ago

Shians commented 7 years ago

As far as I can tell the d3-tips module is setting sets 'pointer-events': 'all'. Since the tooltip appears in front of the underlying display, any movement in the body of the tooltip will be considered a mouse-off event causing the tooltip to go back into hiding. Unless there are mouse events associated with the tooltips there's no real reason to turn this on.

This code has not been tested since I only diagnosed the bug on the demo website and have not run the software myself.