diff --git a/app/containers/MessageBox/index.tsx b/app/containers/MessageBox/index.tsx index 69ec2d4f1..ab565fdad 100644 --- a/app/containers/MessageBox/index.tsx +++ b/app/containers/MessageBox/index.tsx @@ -954,6 +954,10 @@ class MessageBox extends Component { this.setState({ showEmojiKeyboard: false }); }; + closeEmojiSearchbar = () => { + this.setState({ showEmojiSearchbar: false }); + }; + closeEmojiAndAction = (action?: Function, params?: any) => { const { showEmojiKeyboard } = this.state; @@ -1260,6 +1264,7 @@ class MessageBox extends Component { defaultValue='' multiline testID={`messagebox-input${tmid ? '-thread' : ''}`} + onFocus={this.closeEmojiSearchbar} {...isAndroidTablet} />