From 6eec42241df62c5266fac234b7a8a94a3b640187 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 17 Apr 2026 07:02:15 +0200 Subject: [PATCH] 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. --- Yattee/Views/Home/BookmarksListView.swift | 3 +++ Yattee/Views/Home/HistoryListView.swift | 3 +++ Yattee/Views/Instances/InstanceBrowseView.swift | 1 + Yattee/Views/Search/SearchView.swift | 1 + 4 files changed, 8 insertions(+) diff --git a/Yattee/Views/Home/BookmarksListView.swift b/Yattee/Views/Home/BookmarksListView.swift index 07420970..778d9a0d 100644 --- a/Yattee/Views/Home/BookmarksListView.swift +++ b/Yattee/Views/Home/BookmarksListView.swift @@ -259,6 +259,9 @@ struct BookmarksListView: View { } } } + #if os(tvOS) + .scrollClipDisabled() + #endif } // MARK: - Helper Views diff --git a/Yattee/Views/Home/HistoryListView.swift b/Yattee/Views/Home/HistoryListView.swift index 3da900c4..e39973bd 100644 --- a/Yattee/Views/Home/HistoryListView.swift +++ b/Yattee/Views/Home/HistoryListView.swift @@ -317,6 +317,9 @@ struct HistoryListView: View { } } } + #if os(tvOS) + .scrollClipDisabled() + #endif } private var confirmationTitle: String { diff --git a/Yattee/Views/Instances/InstanceBrowseView.swift b/Yattee/Views/Instances/InstanceBrowseView.swift index 31394c92..d9aaa676 100644 --- a/Yattee/Views/Instances/InstanceBrowseView.swift +++ b/Yattee/Views/Instances/InstanceBrowseView.swift @@ -227,6 +227,7 @@ struct InstanceBrowseView: View { } } } + .scrollClipDisabled() .refreshable { await startContentLoad(forceRefresh: true) } diff --git a/Yattee/Views/Search/SearchView.swift b/Yattee/Views/Search/SearchView.swift index bd8b77d8..a5ece588 100644 --- a/Yattee/Views/Search/SearchView.swift +++ b/Yattee/Views/Search/SearchView.swift @@ -946,6 +946,7 @@ struct SearchView: View { gridResultsContent } } + .scrollClipDisabled() .accessibilityLabel("search.results") .background( GeometryReader { geometry in