From dc884983e625fb7a9309361de26b7dcbc0fd736a Mon Sep 17 00:00:00 2001
From: Saturnino Abril <saturnino.abril@gmail.com>
Date: Fri, 4 Aug 2017 05:14:10 +0800
Subject: close post control button after reacting to a post (#7110)

---
 webapp/components/rhs_comment.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'webapp/components/rhs_comment.jsx')

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) => {
-- 
cgit v1.2.3-1-g7c22

