🐛(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
+4
View File
@@ -19,6 +19,10 @@ and this project adheres to
- ♻️(backend) always finalize recordings using the LiveKit egress_ended webhook - ♻️(backend) always finalize recordings using the LiveKit egress_ended webhook
- ⬆️(frontend) upgrade posthog-js from 1.409.5 to 1.414.0 - ⬆️(frontend) upgrade posthog-js from 1.409.5 to 1.414.0
### Fixed
- 🐛(frontend) fix chat text-area bug
## [1.29.0] - 2026-08-25 ## [1.29.0] - 2026-08-25
### Added ### Added
@@ -21,7 +21,9 @@ const StyledContainer = styled('div', {
}) })
export const ChatTextArea = () => { 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' }) const { t } = useTranslation('rooms', { keyPrefix: 'controls.chat.input' })