Skip to content

Conversation

@elliott-with-the-longest-name-on-github
Copy link
Collaborator

When expanding or collapsing reasoning from the chat, because it mutated the messages content, it would try to scroll to the bottom. This obviously isn't desirable behavior. This introduces a simple lock that's turned on while the transition is firing and removed one tick after it's done.

@vercel
Copy link

vercel bot commented Mar 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-chatbot-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 22, 2025 1:55am

@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github merged commit b73d756 into main Mar 22, 2025
5 checks passed
@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github deleted the elliott/fix-reasoning-collapse-jank branch March 22, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants