Prevent tvOS focus shadow from clipping between Home sections

This commit is contained in:
Arkadiusz Fal
2026-05-09 11:05:30 +02:00
parent b6c3f0e71b
commit 6173f63221
2 changed files with 4 additions and 0 deletions

View File

@@ -49,5 +49,8 @@ struct HomeHorizontalCards: View {
.focusSection() .focusSection()
#endif #endif
} }
#if os(tvOS)
.scrollClipDisabled()
#endif
} }
} }

View File

@@ -235,6 +235,7 @@ struct HomeView: View {
homeContent homeContent
} }
} }
.scrollClipDisabled()
} }
#else #else
let backgroundStyle: ListBackgroundStyle = listStyle == .inset ? .grouped : .plain let backgroundStyle: ListBackgroundStyle = listStyle == .inset ? .grouped : .plain