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

This commit is contained in:
Pratyay Roy
2024-02-19 06:09:24 +05:30
committed by GitHub
parent 797e464767
commit ff3c1a4587

View File

@@ -228,7 +228,7 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo
if (!focusInput) {
return;
}
document.getElementById('chat-input-content-editable').focus();
document.getElementById('chat-input-content-editable').focus({ preventScroll: true });
}, []);
const getCustomEmoji = async () => {