diff options
-rw-r--r-- | webapp/components/post_view/post_info/post_info.jsx | 1 | ||||
-rw-r--r-- | webapp/components/rhs_comment.jsx | 1 | ||||
-rw-r--r-- | webapp/components/rhs_root_post.jsx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/webapp/components/post_view/post_info/post_info.jsx b/webapp/components/post_view/post_info/post_info.jsx index 71f73b631..5f3701761 100644 --- a/webapp/components/post_view/post_info/post_info.jsx +++ b/webapp/components/post_view/post_info/post_info.jsx @@ -125,6 +125,7 @@ export default class PostInfo extends React.PureComponent { const emojiName = emoji.name || emoji.aliases[0]; this.props.actions.addReaction(this.props.post.id, emojiName); emitEmojiPosted(emojiName); + this.props.handleDropdownOpened(false); } getDotMenu = () => { diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx index 25ea4f9ca..31afa7b6d 100644 --- a/webapp/components/rhs_comment.jsx +++ b/webapp/components/rhs_comment.jsx @@ -166,6 +166,7 @@ export default class RhsComment extends React.Component { this.setState({showEmojiPicker: false}); const emojiName = emoji.name || emoji.aliases[0]; addReaction(this.props.post.channel_id, this.props.post.id, emojiName); + this.handleDropdownOpened(false); } getClassName = (post, isSystemMessage) => { diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index af0c8c0d5..620a87e94 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -159,6 +159,7 @@ export default class RhsRootPost extends React.Component { this.setState({showEmojiPicker: false}); const emojiName = emoji.name || emoji.aliases[0]; addReaction(this.props.post.channel_id, this.props.post.id, emojiName); + this.handleDropdownOpened(false); } getClassName = (post, isSystemMessage) => { |