Merge upstream (#81)

This commit is contained in:
kibigo! committed 2017-07-15 14:33:15 -07:00
commit 09cfc079b0
213 files changed
+2714 -1364

No files matched your search

@@ -140,7 +140,8 @@ export default class ComposeForm extends ImmutablePureComponent {
handleEmojiPick = (data) => {
const position = this.autosuggestTextarea.textarea.selectionStart;
this._restoreCaret = position + data.shortname.length + 1;
const emojiChar = String.fromCodePoint(parseInt(data.unicode, 16));
this._restoreCaret = position + emojiChar.length + 1;
this.props.onPickEmoji(position, data);
}