Use top anchor for scroll to top event
Changelog-Fixed: Scroll to top of events instead of the bottom Closes: #570
This commit is contained in:
@@ -77,7 +77,7 @@ struct TimelineView: View {
|
||||
guard let event = events.filter(self.filter).first else {
|
||||
return
|
||||
}
|
||||
scroll_to_event(scroller: scroller, id: event.id, delay: 0.0, animate: true)
|
||||
scroll_to_event(scroller: scroller, id: event.id, delay: 0.0, animate: true, anchor: .top)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user