|
webclient: hold the chat at the bottom when a stream ends
The list was pinned per streaming delta, but the last things to land arrive after that final pin: the stats/rating footer, which renders only once msg.done is set, and the copy buttons attached to code blocks after render. Nothing re-clamped afterwards — the length watcher never fires (the message stays in the array) and the landing loop only runs when a session opens — so the view was left short of the bottom, looking like it had scrolled up. Re-clamp through the same settle window the landing uses when streaming goes true -> false, unless the user has scrolled up or a session is loading. This addresses the late-layout half of the problem; the row is still remounted when msg.id becomes h_<n>, which is the other source of a jump. |
|---|
|
|
| webclient/dist/assets/index-C-QKQYrg.css 0 → 100644 |
|---|
| webclient/dist/assets/index-D6RuhKhs.js 100644 → 0 |
|---|
|
Not supported
|
| webclient/dist/assets/index-Df_9A-RF.js 0 → 100644 |
|---|
|
Not supported
|
| webclient/dist/assets/index-crGc1Xz5.css 100644 → 0 |
|---|
| webclient/dist/index.html |
|---|
| webclient/dist/sw.js |
|---|
| webclient/src/components/chat/MessageList.vue |
|---|
| webclient/tests/unit/components/chat/messageList.test.js 0 → 100644 |
|---|