Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tooltip triggers mouseout event #102

Closed
f-scholer opened this issue Feb 18, 2018 · 2 comments
Closed

tooltip triggers mouseout event #102

f-scholer opened this issue Feb 18, 2018 · 2 comments

Comments

@f-scholer
Copy link

I had problems with the tooltip only showing when moving the mouse. It turns out that the tooltip div element itself triggered the mouseout event, The fix is just to prevent the tooltip from getting pointer events:

SmoothieChart.prototype.getTooltipEl = function () {
....
this.tooltipEl.style.pointerEvents = 'none'; <--- add this line

@drewnoakes
Copy link
Collaborator

Good point. Can you make a PR please?

@paccerdk
Copy link
Contributor

paccerdk commented Sep 16, 2020

I've made a pull request, took me 1 minute via the github webinterface - however it took me a lot longer to track down the issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants