webui: Fix Chat Screen Form box disappearing + autoscroll issues on WebKit#22977
Merged
allozaur merged 4 commits intoMay 12, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Fixes WebKit-specific chat UI issues by changing the chat scroll layout and improving auto-scroll and transition behavior during navigation/conversation changes.
Changes:
- Switch chat scroll container from
flex-col-reversetoflex-coland adjust auto-scroll logic accordingly. - Add a “messages ready” callback to trigger an immediate scroll-to-bottom on navigation.
- Introduce fade-in/out visibility transitions when switching conversations and during navigation.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| tools/server/webui/src/lib/hooks/use-auto-scroll.svelte.ts | Removes column-reverse support and simplifies bottom detection/scroll-to-bottom behavior. |
| tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte | Updates scroll container direction and triggers immediate scroll-to-bottom when messages are ready. |
| tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte | Adds navigation/conversation transition handling and emits onMessagesReady callback. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ggerganov
approved these changes
May 12, 2026
ServeurpersoCom
approved these changes
May 12, 2026
|
@allozaur working well! thanks so much for the fix! |
xxmustafacooTR
pushed a commit
to xxPlayground/llama-cpp-turboquant
that referenced
this pull request
May 13, 2026
…ebKit (ggml-org#22977) * debug: Scroll/Sticky issues * fix: UI improvements * refactor: Remove unneeded logic * fix: Better logic for initial load of messages
|
Looks good here. Thank you! |
rsenthilkumar6
pushed a commit
to rsenthilkumar6/llama.cpp
that referenced
this pull request
May 19, 2026
…ebKit (ggml-org#22977) * debug: Scroll/Sticky issues * fix: UI improvements * refactor: Remove unneeded logic * fix: Better logic for initial load of messages
baramofme
pushed a commit
to baramofme/llama-cpp-turboquant
that referenced
this pull request
May 23, 2026
…ebKit (ggml-org#22977) * debug: Scroll/Sticky issues * fix: UI improvements * refactor: Remove unneeded logic * fix: Better logic for initial load of messages
baramofme
pushed a commit
to baramofme/llama-cpp-turboquant
that referenced
this pull request
May 23, 2026
…ebKit (ggml-org#22977) * debug: Scroll/Sticky issues * fix: UI improvements * refactor: Remove unneeded logic * fix: Better logic for initial load of messages
winstonma
pushed a commit
to winstonma/llama.cpp
that referenced
this pull request
May 27, 2026
…ebKit (ggml-org#22977) * debug: Scroll/Sticky issues * fix: UI improvements * refactor: Remove unneeded logic * fix: Better logic for initial load of messages
fewtarius
pushed a commit
to fewtarius/llama.cpp
that referenced
this pull request
May 30, 2026
…ebKit (ggml-org#22977) * debug: Scroll/Sticky issues * fix: UI improvements * refactor: Remove unneeded logic * fix: Better logic for initial load of messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Close #21276
Fixes two WebKit-specific bugs in the chat UI:
Chat form vanishes — Switched scroll container from
flex-col-reversetoflex-col.Autoscroll glitches — also caused by
flex-col-reverseRequirements