Skip to content
Snippets Groups Projects
Unverified Commit 434a6d0b authored by Takeshi Umeda's avatar Takeshi Umeda Committed by GitHub
Browse files

Fix modifier key to keep the EmojiPicker on macOS (#14096)

parent cb3c6d17
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ class EmojiPickerMenu extends React.PureComponent {
if (!emoji.native) {
emoji.native = emoji.colons;
}
if (!event.ctrlKey) {
if (!(event.ctrlKey || event.metaKey)) {
this.props.onClose();
}
this.props.onPick(emoji);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment