Skip to content

Commit

Permalink
Pass the event to OuterAction
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCinelli committed Jan 7, 2016
1 parent 863a551 commit 5a2d25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ const Popover = createClass({
!this.containerEl.contains(event.target) &&
!this.targetEl.contains(event.target)
)
if (isOuterAction) this.props.onOuterAction()
if (isOuterAction) this.props.onOuterAction(event)
},
untrackPopover () {
clearInterval(this.checkLayoutInterval)
Expand Down

0 comments on commit 5a2d25e

Please sign in to comment.