0
0
Fork 0

Fix caret position after inserting emoji (#7167)

This commit is contained in:
abcang 2018-04-17 20:50:33 +09:00 committed by Eugen Rochko
parent 609bf93029
commit 727917e91e
4 changed files with 13 additions and 10 deletions

View file

@ -446,11 +446,12 @@ export function changeComposeVisibility(value) {
};
};
export function insertEmojiCompose(position, emoji) {
export function insertEmojiCompose(position, emoji, needsSpace) {
return {
type: COMPOSE_EMOJI_INSERT,
position,
emoji,
needsSpace,
};
};