Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

Commit 803462a

Browse files
authored
fix(Tooltip): update math before display (#81)
1 parent dcdc8ec commit 803462a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/Tooltip.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Tooltip extends Component {
4141

4242
handleMouse = direction => {
4343
if (direction === 'over') {
44+
this.getTriggerPosition();
4445
this.setState({ open: true });
4546
} else {
4647
this.setState({ open: false });

0 commit comments

Comments
 (0)