Skip to content

Commit d8be62b

Browse files
Merge pull request #1059 from microsoft/BUGFIX_GOLLA
fix: remove unnecessary scrollToBottom call in usePlanWebSocket
2 parents 1a1b365 + 4b3e432 commit d8be62b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/App/src/hooks/usePlanWebSocket.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,10 @@ export function usePlanWebSocket({
137137
const line = PlanDataService.simplifyHumanClarification(msg.data?.content || msg.content || '');
138138
dispatch(setShowBufferingText(true));
139139
dispatch(appendToStreamingBuffer(line));
140-
scrollToBottom();
141140
},
142141
);
143142
return unsub;
144-
}, [dispatch, scrollToBottom]);
143+
}, [dispatch]);
145144

146145
// ── USER_CLARIFICATION_REQUEST ────────────────────────────────
147146
useEffect(() => {

0 commit comments

Comments
 (0)