From 707267bdaac483ecfc2c74bc3ae5efa151661ac1 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 28 Jan 2026 11:09:05 -0800 Subject: [PATCH] scroll logs --- src/client/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/index.tsx b/src/client/index.tsx index d042984..6c0a938 100644 --- a/src/client/index.tsx +++ b/src/client/index.tsx @@ -263,6 +263,12 @@ const LogsContainer = define('LogsContainer', { color: theme('colors-textMuted'), maxHeight: 200, overflow: 'auto', + + render({ props: { children }, parts: { Root } }) { + return { + if (el) requestAnimationFrame(() => el.scrollTop = el.scrollHeight) + }}>{children} + } }) const LogLine = define('LogLine', {