quick auto-scroll fix
This commit is contained in:
parent
d47ef96916
commit
9aaacead42
@ -1220,7 +1220,7 @@ export default function ChatSessionView() {
|
|||||||
}, [isProcessing, showToast, handleCancel]);
|
}, [isProcessing, showToast, handleCancel]);
|
||||||
|
|
||||||
const scrollToBottom = () => {
|
const scrollToBottom = () => {
|
||||||
messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });
|
messagesEndRef.current?.scrollIntoView({ behavior: 'instant' });
|
||||||
};
|
};
|
||||||
|
|
||||||
const sessionLocked = startupState === SessionStartupState.Ready;
|
const sessionLocked = startupState === SessionStartupState.Ready;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user