mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 19:05:03 +00:00
Disable scroll clipping for tvOS video listing grids
Allows focus-scaled cards to render past scroll view bounds on History, Bookmarks, Search, and Instance browse screens.
This commit is contained in:
@@ -259,6 +259,9 @@ struct BookmarksListView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if os(tvOS)
|
||||||
|
.scrollClipDisabled()
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Helper Views
|
// MARK: - Helper Views
|
||||||
|
|||||||
@@ -317,6 +317,9 @@ struct HistoryListView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if os(tvOS)
|
||||||
|
.scrollClipDisabled()
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private var confirmationTitle: String {
|
private var confirmationTitle: String {
|
||||||
|
|||||||
@@ -227,6 +227,7 @@ struct InstanceBrowseView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.scrollClipDisabled()
|
||||||
.refreshable {
|
.refreshable {
|
||||||
await startContentLoad(forceRefresh: true)
|
await startContentLoad(forceRefresh: true)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -946,6 +946,7 @@ struct SearchView: View {
|
|||||||
gridResultsContent
|
gridResultsContent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.scrollClipDisabled()
|
||||||
.accessibilityLabel("search.results")
|
.accessibilityLabel("search.results")
|
||||||
.background(
|
.background(
|
||||||
GeometryReader { geometry in
|
GeometryReader { geometry in
|
||||||
|
|||||||
Reference in New Issue
Block a user