Add onCompositionStart and onCompositionEnd event handlers to message input
This commit is contained in:
parent
8778129fb6
commit
6d559eda2f
@ -179,6 +179,8 @@ export const SidepanelForm = ({ dropedFile }: Props) => {
|
|||||||
rows={1}
|
rows={1}
|
||||||
style={{ minHeight: "60px" }}
|
style={{ minHeight: "60px" }}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
|
onCompositionStart={() => setTyping(true)}
|
||||||
|
onCompositionEnd={() => setTyping(false)}
|
||||||
placeholder="Type a message..."
|
placeholder="Type a message..."
|
||||||
{...form.getInputProps("message")}
|
{...form.getInputProps("message")}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user