Skip to content

Commit

Permalink
Merge pull request #758 from TwilightCoder/twilightcoder/enhancement/…
Browse files Browse the repository at this point in the history
…outside-click-callback-arg

Relay event arg to `onClickOutside` callback
  • Loading branch information
EtienneLem authored Dec 19, 2022
2 parents 5e2c10a + 615ddba commit 1798bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/emoji-mart/src/components/Picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export default class Picker extends Component {
}

if (this.props.onClickOutside) {
this.props.onClickOutside()
this.props.onClickOutside(e)
}
}
}
Expand Down

0 comments on commit 1798bb0

Please sign in to comment.