Skip to content

Commit

Permalink
Merge pull request #171 from gnijuohz/master
Browse files Browse the repository at this point in the history
[shared]: fix issue #167
  • Loading branch information
williaster authored Mar 13, 2019
2 parents 6fd7b56 + b12d02d commit e657165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/enhancer/WithTooltip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class WithTooltip extends React.PureComponent {
}

let tooltipCoords = { x: 0, y: 0 };
if (event && event.target && event.target.ownerSVGElement) {
if (event && event.target && event.type !== 'focus' && event.target.ownerSVGElement) {
tooltipCoords = localPoint(event.target.ownerSVGElement, event);
}

Expand Down

0 comments on commit e657165

Please sign in to comment.