From dfec4772e94d409fa2a0c4352d759a8680013fe8 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:54:38 -0400 Subject: [PATCH] Fixes --- webview-ui/src/components/chat/ChatView.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 7a38461..1d50f00 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -282,6 +282,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie setEnableButtons(false) // setPrimaryButtonText(undefined) // setSecondaryButtonText(undefined) + disableAutoScrollRef.current = false }, [clineAsk, startNewTask]) const handleSecondaryButtonClick = useCallback(() => { @@ -307,6 +308,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie setEnableButtons(false) // setPrimaryButtonText(undefined) // setSecondaryButtonText(undefined) + disableAutoScrollRef.current = false }, [clineAsk, startNewTask, isStreaming]) const handleTaskCloseButtonClick = useCallback(() => {