fix: remove autoscroll to readwrite chat embed input field (#3582)
This commit is contained in:
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user