From 274256dfe40a152ccf27af5993aff6e3b183d5fc Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 7 Nov 2026 16:22:53 -0500 Subject: [PATCH] always show jump to bottom when theres a contextual event --- lib/helpers/hooks/chat_scroll.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/helpers/hooks/chat_scroll.dart b/lib/helpers/hooks/chat_scroll.dart index 8cda786..189b5ed 100644 --- a/lib/helpers/hooks/chat_scroll.dart +++ b/lib/helpers/hooks/chat_scroll.dart @@ -14,6 +14,7 @@ final class ChatScroll({ required final IList liveRows, required final GlobalKey centerKey, required final ScrollController scrollController, + required final bool atBottom, required final int? highlightedEvent, @@ -225,7 +226,7 @@ final class ChatScroll({ liveRows: split.live, centerKey: centerKey, scrollController: scrollController, - atBottom: atBottom.value, + atBottom: atBottom.value && contextualEvent.value == null, highlightedEvent: highlightedEvent.value, keyFor: keyFor, jumpToEvent: (int rowId) async {