Merge pull request #2955 from continuedev/dallin/disable-scroll-for-now

comment out autoscroll for now
This commit is contained in:
Patrick Erichsen 2024-11-15 15:59:21 -08:00 • committed by GitHub
commit 47ee640824
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -159,11 +159,11 @@ export function Chat() {
if (active) snapToBottom();
}, [active, snapToBottom]);
useEffect(() => {
setTimeout(() => {
smoothScrollToBottom();
}, 400);
}, [smoothScrollToBottom, state.sessionId]);
// useEffect(() => {
// setTimeout(() => {
// smoothScrollToBottom();
// }, 400);
// }, [smoothScrollToBottom, state.sessionId]);
useEffect(() => {
// Cmd + Backspace to delete current step