Skip to content

Commit

Permalink
Update smoothie.js
Browse files Browse the repository at this point in the history
fix tooltip triggering mouseout event
  • Loading branch information
paccerdk committed Sep 16, 2020
1 parent fc5e28e commit b8b9f39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smoothie.js
Original file line number Diff line number Diff line change
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 b8b9f39

Please sign in to comment.