From 889e4cc374cc336d1d6a081b50bd82b7f639fc22 Mon Sep 17 00:00:00 2001 From: 777genius Date: Fri, 29 May 2026 15:54:49 +0300 Subject: [PATCH] perf: avoid sidebar timeline virtualization churn --- src/renderer/components/team/messages/MessagesPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/team/messages/MessagesPanel.tsx b/src/renderer/components/team/messages/MessagesPanel.tsx index 646305e8..afcb2c4b 100644 --- a/src/renderer/components/team/messages/MessagesPanel.tsx +++ b/src/renderer/components/team/messages/MessagesPanel.tsx @@ -363,7 +363,7 @@ export const MessagesPanel = memo(function MessagesPanel({ // path for short lists and only switches to the windowed path once // the row count crosses its internal threshold. virtualizationEnabled: true, - virtualizationRowThreshold: position === 'sidebar' ? 24 : undefined, + virtualizationRowThreshold: position === 'sidebar' ? 48 : undefined, }; }, [activeScrollContainerRef, position]); const handleExpandContent = useCallback(() => {