From 80cffd4c9e7a403c11f7c7aa9bb91db4f44abca1 Mon Sep 17 00:00:00 2001 From: Philip Zeyliger Date: Mon, 26 Jan 2026 08:46:44 -0800 Subject: [PATCH] shelley: use instant scroll behavior for chat messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prompt: Make " messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });" scroll instantly not slowly commit, mentioning thiat this fixes https://github.com/boldsoftware/shelley/issues/35 Fixes https://github.com/boldsoftware/shelley/issues/35 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- ui/src/components/ChatInterface.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ChatInterface.tsx b/ui/src/components/ChatInterface.tsx index 746fc8104644329f4a4a597cde5742d2a916ace5..1e25fd80800dc47cbcaad17e9cfebae2b436cdc5 100644 --- a/ui/src/components/ChatInterface.tsx +++ b/ui/src/components/ChatInterface.tsx @@ -907,7 +907,7 @@ function ChatInterface({ }; const scrollToBottom = () => { - messagesEndRef.current?.scrollIntoView({ behavior: "smooth" }); + messagesEndRef.current?.scrollIntoView({ behavior: "instant" }); userScrolledRef.current = false; setShowScrollToBottom(false); };