Skip to content

Commit

Permalink
fix: Sidebar location jumps when clicking on sidebar items (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Mar 13, 2022
1 parent 6f7aab5 commit 0cd9fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macos/Bookmarks/Views/Sidebar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ struct Sidebar: View {
guard let section = section else {
return
}
scrollView.scrollTo(section, anchor: .center)
scrollView.scrollTo(section)
}
}
.sheet(item: $sheet) { sheet in
Expand Down

0 comments on commit 0cd9fd9

Please sign in to comment.