Transcript Incremental Projection
Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -685,7 +685,9 @@ struct TranscriptList: View {
|
||||
} action: { _, distance in
|
||||
if distance <= bottomFollowThreshold {
|
||||
isScrolledToBottom = true
|
||||
} else if !transcriptSettling, distance > bottomUnfollowThreshold, isUserScrolling {
|
||||
jumpingToBottom = false // arrived — the jump is complete
|
||||
} else if !transcriptSettling, distance > bottomUnfollowThreshold, isUserScrolling,
|
||||
!jumpingToBottom {
|
||||
// While the chat is opening the layout grows over a few passes and the offset
|
||||
// lags each growth by a frame — those frames read "not at bottom" even though
|
||||
// `.defaultScrollAnchor(.bottom)` is about to re-pin, so settling accepts
|
||||
|
||||
Reference in New Issue
Block a user