thread: scroll to bottom, less jittery
This commit is contained in:
1 parent
13516dbc0a
commit
65d7bbf050
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user