🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(web): keep trace tree rows from painting over the scrollbar (#18453)
Der Gerät226e88362c01
diff --git a/web/src/features/traces/components/VirtualizedTree.tsx b/web/src/features/traces/components/VirtualizedTree.tsxindex 050836df56..41ecc0ac56 100644--- a/web/src/features/traces/components/VirtualizedTree.tsx+++ b/web/src/features/traces/components/VirtualizedTree.tsx@@ -141,7 +141,19 @@ export function VirtualizedTree<T extends { id: string; children: T[] }>({}, [selectedNodeId, flattenedItems, rowVirtualizer]);return (- <div ref={parentRef} className={cn("h-full overflow-y-auto", className)}>+ // `scrollbar-visible` is load-bearing, not decoration. Rows are `w-full`+ // and carry their own background (selected, hover), so under an overlay+ // scrollbar — which reserves no layout width, and is the default on macOS+ // and in Chrome on macOS/Android/ChromeOS — they paint across the full+ // scrollport width and chop the thumb into segments. Sizing+ // `::-webkit-scrollbar` opts the scrollport out of overlay mode, so the+ // bar takes layout width and rows stop short of it. There is no scrollbar+ // DOM node to raise above instead, and `scrollbar-gutter: stable` is+ // specified to do nothing for overlay scrollbars.+ <div+ ref={parentRef}+ className={cn("scrollbar-visible h-full overflow-y-auto", className)}+ ><divstyle={{height: `${rowVirtualizer.getTotalSize()}px`,