diff --git a/frontend/src/components/MapChat/NewMessage.js b/frontend/src/components/MapChat/NewMessage.js index 947ec6c6..f0cc80a4 100644 --- a/frontend/src/components/MapChat/NewMessage.js +++ b/frontend/src/components/MapChat/NewMessage.js @@ -1,5 +1,5 @@ import React, { PropTypes, Component } from 'react' -import { Picker } from 'emoji-mart' +import { Emoji, Picker } from 'emoji-mart' import Util from '../../Metamaps/Util' class NewMessage extends Component { @@ -26,6 +26,7 @@ class NewMessage extends Component { }}) this.setState({ showEmojiPicker: false }) + this.props.focusMessageInput() } render = () => { @@ -41,7 +42,7 @@ class NewMessage extends Component { title="Emoji" />