shelley: use instant scroll behavior for chat messages
Philip Zeyliger
and
Claude
created
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 <noreply@anthropic.com>
Change summary
ui/src/components/ChatInterface.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -907,7 +907,7 @@ function ChatInterface({
};
const scrollToBottom = () => {
- messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
+ messagesEndRef.current?.scrollIntoView({ behavior: "instant" });
userScrolledRef.current = false;
setShowScrollToBottom(false);
};