Force soft top scroll edge effect for banner and video info views

iOS 27 changes the default scroll edge effect style to hard, which
draws a sharp cutoff line over the channel banner and video info
gradient extending under the toolbar.
This commit is contained in:
Arkadiusz Fal
2026-07-18 10:40:31 +02:00
parent 3a8f91f88c
commit 74442f2764
3 changed files with 27 additions and 0 deletions

View File

@@ -545,6 +545,7 @@ struct VideoInfoView: View {
#if !os(tvOS)
.scrollDismissesKeyboard(.interactively)
#endif
.softTopScrollEdgeEffect()
.modifier(VideoInfoScrollOffsetModifier(scrollOffset: $scrollOffset))
#if os(macOS)