Skip to content

Commit

Permalink
fix(overridePosition): providing currentEvent in overridePosition (#563)
Browse files Browse the repository at this point in the history
fix #513
  • Loading branch information
roggervalf authored Mar 12, 2020
1 parent fcdf7f1 commit 3e75a09
Show file tree
Hide file tree
Showing 2 changed files with 2,240 additions and 440 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class ReactTooltip extends React.Component {
if (result.position && this.props.overridePosition) {
result.position = this.props.overridePosition(
result.position,
e.currentTarget,
e,
this.tooltipRef,
desiredPlace,
desiredPlace,
Expand Down
Loading

0 comments on commit 3e75a09

Please sign in to comment.