fix: remove autoscroll to readwrite chat embed input field (#3582)

This commit is contained in:
Pratyay Roy
2024-02-18 16:39:24 -08:00
committed by GitHub
parent 797e464767
commit ff3c1a4587
@@ -228,7 +228,7 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo
if (!focusInput) { if (!focusInput) {
return; return;
} }
document.getElementById('chat-input-content-editable').focus(); document.getElementById('chat-input-content-editable').focus({ preventScroll: true });
}, []); }, []);
const getCustomEmoji = async () => { const getCustomEmoji = async () => {