@ -68,6 +68,9 @@ export default class ChatInput extends Component {
@@ -68,6 +68,9 @@ export default class ChatInput extends Component {
custom : json ,
initialCategory : 'custom' ,
showPreview : false ,
autoHide : false ,
autoFocusSearch : false ,
showAnimation : false ,
emojiSize : '24px' ,
position : 'right-start' ,
strategy : 'absolute' ,
@ -75,6 +78,10 @@ export default class ChatInput extends Component {
@@ -75,6 +78,10 @@ export default class ChatInput extends Component {
this . emojiPicker . on ( 'emoji' , emoji => {
this . handleEmojiSelected ( emoji ) ;
} ) ;
this . emojiPicker . on ( 'hidden' , ( ) => {
this . formMessageInput . current . focus ( ) ;
replaceCaret ( this . formMessageInput . current ) ;
} ) ;
} )
. catch ( error => {
// this.handleNetworkingError(`Emoji Fetch: ${error}`);