Revert "perf(ui): start streams at newest"

This reverts commit 13802537b4.
This commit is contained in:
Shantur Rathore
2026-03-01 12:41:22 +00:00
parent 13802537b4
commit 594809538d
5 changed files with 258 additions and 227 deletions

View File

@@ -1,10 +1,7 @@
.message-stream {
@apply flex-1 min-h-0 overflow-y-auto flex flex-col-reverse gap-0.5;
@apply flex-1 min-h-0 overflow-y-auto flex flex-col gap-0.5;
background-color: var(--surface-base);
color: inherit;
/* Disable browser scroll anchoring; VirtualItem mounts can otherwise
re-anchor the viewport and create "jumpiness" near the newest edge. */
overflow-anchor: none;
}
.message-stream-block {

View File

@@ -215,18 +215,6 @@
align-items: flex-end;
}
.message-stream-overlay {
position: absolute;
inset: 0;
display: flex;
min-height: 0;
pointer-events: none;
}
.message-stream-overlay > * {
pointer-events: auto;
}
.message-scroll-button {
@apply inline-flex items-center justify-center;
width: 2.75rem;