From 492a41f19b02e5a8e06f67784d0d7e575a90a266 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Mon, 9 Jan 2017 14:25:12 -0500 Subject: [PATCH] tweak chat emoji --- frontend/src/components/MapChat/NewMessage.js | 6 +++-- frontend/src/components/MapChat/index.js | 24 ++++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) 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" />
- 🙃 +