Skip to content
Snippets Groups Projects
Unverified Commit 64154c51 authored by Brian C. Lindner's avatar Brian C. Lindner Committed by GitHub
Browse files

Allow Ctrl-click to keep EmojiPicker window open (#13896)

parent cc650bc0
No related branches found
No related tags found
No related merge requests found
......@@ -199,12 +199,13 @@ class EmojiPickerMenu extends React.PureComponent {
};
}
handleClick = emoji => {
handleClick = (emoji, event) => {
if (!emoji.native) {
emoji.native = emoji.colons;
}
this.props.onClose();
if (!event.ctrlKey) {
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