Skip to content

Commit 7ffead0

Browse files
loganjLarry
andcommitted
fix(desktop): keep buffered timeline catch-up reachable
A frozen logical tail can report physical bottom before buffered live rows are released. Keep the existing catch-up action visible while pending rows remain so a shared thread message can enter the parent timeline after closing the thread. Preserve scroll anchoring and explicit catch-up behavior. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson <loganj@squareup.com>
1 parent ff14056 commit 7ffead0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

desktop/src/features/messages/ui/MessageTimeline.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,9 @@ const MessageTimelineBase = React.forwardRef<
875875
)}
876876
</div>
877877

878-
{!isAtBottom ? (
878+
{/* A frozen tail can be physically at bottom while live rows are still
879+
buffered. Keep the release action reachable in that state. */}
880+
{!isAtBottom || bufferedTimeline.pendingCount > 0 ? (
879881
<div
880882
className={cn(
881883
"pointer-events-none absolute inset-x-0 bottom-4 z-50 flex justify-center px-4",

0 commit comments

Comments
 (0)