Fix bug where feed sometimes gets reset to realtime when scrolling
This commit is contained in:
1 parent
826fd1ef33
commit
647495dbc0
1 file changed
+1
-1
@@ -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