Skip to content

Commit

Permalink
Remove anchor as it can appear "glitchy"
Browse files Browse the repository at this point in the history
  • Loading branch information
zenangst committed Nov 2, 2023
1 parent 41f3ba1 commit a82e7ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App/Sources/UI/Views/ContentListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ struct ContentListView: View {
if let firstSelection = contentSelectionManager.selections.first {
// We need to wait before we tell the proxy to scroll to the first selection.
DispatchQueue.main.async {
proxy.scrollTo(firstSelection, anchor: .center)
proxy.scrollTo(firstSelection)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion App/Sources/UI/Views/GroupsListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ struct GroupsListView: View {
if let firstSelection = selectionManager.selections.first {
// We need to wait before we tell the proxy to scroll to the first selection.
DispatchQueue.main.async {
proxy.scrollTo(firstSelection, anchor: .center)
proxy.scrollTo(firstSelection)
}
}
}
Expand Down

0 comments on commit a82e7ab

Please sign in to comment.