Skip to content

Commit

Permalink
Merge pull request #22561 from waterim/fix-22091-App-incorrectly-adds…
Browse files Browse the repository at this point in the history
…-an-emoji
  • Loading branch information
francoisl authored Jul 12, 2023
2 parents aa2995e + 118a04c commit 78a08d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/EmojiPicker/CategoryShortcutButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class CategoryShortcutButton extends PureComponent {
shiftVertical={-4}
>
<PressableWithoutFeedback
shouldUseAutoHitSlop={false}
onPress={this.props.onPress}
onHoverIn={() => this.setState({isHighlighted: true})}
onHoverOut={() => this.setState({isHighlighted: false})}
Expand Down
1 change: 1 addition & 0 deletions src/components/EmojiPicker/EmojiPickerMenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class EmojiPickerMenuItem extends PureComponent {
render() {
return (
<PressableWithoutFeedback
shouldUseAutoHitSlop={false}
onPress={() => this.props.onPress(this.props.emoji)}
onHoverIn={this.props.onHoverIn}
onHoverOut={this.props.onHoverOut}
Expand Down

0 comments on commit 78a08d4

Please sign in to comment.