From 803462ae3b626c873a9302a695d1c25f9b189f1b Mon Sep 17 00:00:00 2001 From: Ian Fleming Date: Mon, 10 Jul 2017 09:15:47 -0500 Subject: [PATCH] fix(Tooltip): update math before display (#81) --- components/Tooltip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Tooltip.js b/components/Tooltip.js index 85340c7f37..25f2de7e58 100644 --- a/components/Tooltip.js +++ b/components/Tooltip.js @@ -41,6 +41,7 @@ class Tooltip extends Component { handleMouse = direction => { if (direction === 'over') { + this.getTriggerPosition(); this.setState({ open: true }); } else { this.setState({ open: false });