focus chat on reply

This commit is contained in:
PhilReact 2024-11-14 07:15:46 +02:00
parent 5b130802b7
commit 7cee88643d

View File

@ -541,6 +541,7 @@ const clearEditorContent = () => {
const onReply = useCallback((message)=> {
setReplyMessage(message)
editorRef?.current?.chain().focus()
}, [])
const handleReaction = useCallback(async (reaction, chatMessage, reactionState = true)=> {