From 8c226afbbb3184685835d3bc46604c08d5eed318 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Thu, 14 May 2026 23:47:35 +0300 Subject: [PATCH] fix: show large git change lists reliably Avoids empty changes sections when many files are modified Keeps medium-sized change lists on stable non-virtualized rendering --- packages/ui/src/components/views/git/ChangesSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/views/git/ChangesSection.tsx b/packages/ui/src/components/views/git/ChangesSection.tsx index dc8f67f2..13aa0176 100644 --- a/packages/ui/src/components/views/git/ChangesSection.tsx +++ b/packages/ui/src/components/views/git/ChangesSection.tsx @@ -36,7 +36,7 @@ interface ChangesSectionProps { onOpenStashes?: () => void; } -const CHANGE_LIST_VIRTUALIZE_THRESHOLD = 120; +const CHANGE_LIST_VIRTUALIZE_THRESHOLD = 1000; const CHANGE_ROW_ESTIMATE_PX = 34; type ChangesTreeDirectoryNode = {