diff --git a/components/ai_chat/resources/page/components/main/index.tsx b/components/ai_chat/resources/page/components/main/index.tsx index 1d51bd399f0f..c1055c4097b6 100644 --- a/components/ai_chat/resources/page/components/main/index.tsx +++ b/components/ai_chat/resources/page/components/main/index.tsx @@ -90,6 +90,8 @@ function Main() { } const handleScroll = (e: React.UIEvent) => { + // Monitor scroll positions only when Assistant is generating + if (!context.isGenerating) return const el = e.currentTarget scrollPos.current.isAtBottom = Math.abs(el.scrollHeight - el.clientHeight - el.scrollTop) < SCROLL_BOTTOM_THRESHOLD }