commit 65d7bbf050136412a1f395de9a7d01b0a1f5b3c4
parent 13516dbc0a7188f725fbd9259b00ed04af83daa0
Author: William Casarin <jb55@jb55.com>
Date: Wed, 28 Dec 2022 14:55:16 -0800
thread: scroll to bottom, less jittery
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/ThreadV2View.swift b/damus/Views/ThreadV2View.swift
@@ -245,7 +245,7 @@ struct ThreadV2View: View {
.buttonStyle(.plain)
.onAppear {
// TODO: find another solution to prevent layout shifting and layout blocking on large responses
- reader.scrollTo("main", anchor: .center)
+ reader.scrollTo("main", anchor: .bottom)
}
}
}.background(GeometryReader { geometry in