Fix bug where feed sometimes gets reset to realtime when scrolling
This commit is contained in:
@@ -29,7 +29,7 @@ struct TimelineView: View {
|
||||
|
||||
func handle_scroll(_ proxy: GeometryProxy) {
|
||||
let offset = -proxy.frame(in: .named("scroll")).origin.y
|
||||
guard offset != -0.0 else {
|
||||
guard offset >= 0 else {
|
||||
return
|
||||
}
|
||||
self.events.should_queue = offset > 0
|
||||
|
||||
Reference in New Issue
Block a user