diff --git a/src/components/Sidepanel/Chat/form.tsx b/src/components/Sidepanel/Chat/form.tsx index f567d9e..fde5a29 100644 --- a/src/components/Sidepanel/Chat/form.tsx +++ b/src/components/Sidepanel/Chat/form.tsx @@ -179,6 +179,8 @@ export const SidepanelForm = ({ dropedFile }: Props) => { rows={1} style={{ minHeight: "60px" }} tabIndex={0} + onCompositionStart={() => setTyping(true)} + onCompositionEnd={() => setTyping(false)} placeholder="Type a message..." {...form.getInputProps("message")} />