🐛(frontend) fix chat text-area bug

Whenever a character was typed, the caret would jump
to the end of the textarea. Fixes #1656.
This commit is contained in:
Louis-Jean Teitelbaum
2026-08-29 20:33:16 +02:00
committed by aleb_the_flash
parent 3991235903
commit ab62ae71ea
2 changed files with 7 additions and 1 deletions
@@ -21,7 +21,9 @@ const StyledContainer = styled('div', {
})
export const ChatTextArea = () => {
const { isSending, send, textAreaValue } = useSnapshot(chatStore)
const { isSending, send, textAreaValue } = useSnapshot(chatStore, {
sync: true,
})
const { t } = useTranslation('rooms', { keyPrefix: 'controls.chat.input' })