mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-01 21:28:00 +00:00
🐛(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:
committed by
aleb_the_flash
parent
3991235903
commit
ab62ae71ea
@@ -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' })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user