Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: prevent scroll anchoring during streaming (#12115)

Innei30a69eacf366
diff --git a/src/features/Conversation/ChatList/components/VirtualizedList.tsx b/src/features/Conversation/ChatList/components/VirtualizedList.tsx
index 12ba0a02af4..a20538ebf8f 100644
--- a/src/features/Conversation/ChatList/components/VirtualizedList.tsx
+++ b/src/features/Conversation/ChatList/components/VirtualizedList.tsx
@@ -145,7 +145,7 @@ const VirtualizedList = memo<VirtualizedListProps>(({ dataSource, itemContent })
onScroll={handleScroll}
onScrollEnd={handleScrollEnd}
ref={virtuaRef}
- style={{ height: '100%', paddingBottom: 24 }}
+ style={{ height: '100%', overflowAnchor: 'none', paddingBottom: 24 }}
>
{(messageId, index): ReactElement => {
const isAgentCouncil = messageId.includes('agentCouncil');