Skip to content

Commit

Permalink
Merge pull request #125 from paccerdk/patch-1
Browse files Browse the repository at this point in the history
fix tooltip triggering mouseout event
  • Loading branch information
drewnoakes committed Sep 17, 2020
2 parents fc5e28e + b8b9f39 commit 5f14e14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smoothie.js
Expand Up @@ -551,6 +551,7 @@
if (!this.tooltipEl) {
this.tooltipEl = document.createElement('div');
this.tooltipEl.className = 'smoothie-chart-tooltip';
this.tooltipEl.style.pointerEvents = 'none';
this.tooltipEl.style.position = 'absolute';
this.tooltipEl.style.display = 'none';
document.body.appendChild(this.tooltipEl);
Expand Down

0 comments on commit 5f14e14

Please sign in to comment.