From b8b9f390cbb8815e88517ab3f37cf315231bca7a Mon Sep 17 00:00:00 2001 From: Rasmus Olsen Date: Wed, 16 Sep 2020 21:58:04 +0200 Subject: [PATCH] Update smoothie.js fix tooltip triggering mouseout event --- smoothie.js | 1 + 1 file changed, 1 insertion(+) diff --git a/smoothie.js b/smoothie.js index 5fc3f3c..6ef566f 100644 --- a/smoothie.js +++ b/smoothie.js @@ -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);