thread: scroll to bottom, less jittery
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user