Fix scrolling of favorites on macOS Big Sur

This commit is contained in:
Arkadiusz Fal
2021-12-02 20:19:10 +01:00
parent cc2bf90218
commit c4b5c7ce41
2 changed files with 45 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ struct FavoritesView: View {
#else
ForEach(favorites) { item in
FavoriteItemView(item: item, dragging: $dragging)
#if os(macOS)
.workaroundForVerticalScrollingBug()
#endif
}
#endif
}