thread: scroll to bottom, less jittery

This commit is contained in:
William Casarin
2022-12-28 14:55:16 -08:00
parent 13516dbc0a
commit 65d7bbf050

View File

@@ -245,7 +245,7 @@ struct ThreadV2View: View {
.buttonStyle(.plain) .buttonStyle(.plain)
.onAppear { .onAppear {
// TODO: find another solution to prevent layout shifting and layout blocking on large responses // 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 }.background(GeometryReader { geometry in