From 6173f632218520abe3163712b71ea824551fe7d5 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 9 May 2026 11:05:30 +0200 Subject: [PATCH] Prevent tvOS focus shadow from clipping between Home sections --- Yattee/Views/Home/HomeHorizontalCards.swift | 3 +++ Yattee/Views/Home/HomeView.swift | 1 + 2 files changed, 4 insertions(+) diff --git a/Yattee/Views/Home/HomeHorizontalCards.swift b/Yattee/Views/Home/HomeHorizontalCards.swift index e25cdf86..aa1da5b9 100644 --- a/Yattee/Views/Home/HomeHorizontalCards.swift +++ b/Yattee/Views/Home/HomeHorizontalCards.swift @@ -49,5 +49,8 @@ struct HomeHorizontalCards: View { .focusSection() #endif } + #if os(tvOS) + .scrollClipDisabled() + #endif } } diff --git a/Yattee/Views/Home/HomeView.swift b/Yattee/Views/Home/HomeView.swift index b9faf315..63775272 100644 --- a/Yattee/Views/Home/HomeView.swift +++ b/Yattee/Views/Home/HomeView.swift @@ -235,6 +235,7 @@ struct HomeView: View { homeContent } } + .scrollClipDisabled() } #else let backgroundStyle: ListBackgroundStyle = listStyle == .inset ? .grouped : .plain