Close emoji picker when picking emoji

This commit is contained in:
Fedor Indutny 2022-06-30 13:47:23 -07:00 committed by GitHub
parent 1b6cd3d16b
commit 40cbf61226
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -359,6 +359,7 @@ export const CompositionArea = ({
<div className="CompositionArea__button-cell"> <div className="CompositionArea__button-cell">
<EmojiButton <EmojiButton
i18n={i18n} i18n={i18n}
closeOnPick
doSend={handleForceSend} doSend={handleForceSend}
onPickEmoji={insertEmoji} onPickEmoji={insertEmoji}
onClose={focusInput} onClose={focusInput}