Stay scrolled at bottom when expanding collapse sets

This commit is contained in:
Elaine 2026-05-27 14:39:07 -04:00 committed by GitHub
parent f5806db594
commit dc3827ed5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -545,6 +545,14 @@ extension ConversationViewController: CVLoadCoordinatorDelegate {
}
}
if
scrollAction.action == .none,
update.loadRequest.preferredScrollContinuityAnchorInteractionId != nil,
isScrolledToBottom
{
scrollAction = CVScrollAction(action: .bottomOfLoadWindow, isAnimated: false)
}
if .loadOlder == renderState.loadType {
scrollAction = .none
}