Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus

always show jump to bottom when theres a contextual event

This commit is contained in:
Henry Hiles 2026-11-07 16:22:53 -05:00
commit 274256dfe4
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -14,6 +14,7 @@ final class ChatScroll({
required final IList<int> 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 {