Skip to content

Commit f79edce

Browse files
authored
Fix safe area-related bug
Merge pull request #33 from alexmomotiuk/main
2 parents 874399d + 0fbacdd commit f79edce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ScrollKit/ScrollViewWithStickyHeader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public struct ScrollViewWithStickyHeader<Header: View, Content: View>: View {
110110
scrollView(in: geo)
111111
navbarOverlay(in: geo)
112112
}
113-
.edgesIgnoringSafeArea(.all)
113+
.edgesIgnoringSafeArea(.top)
114114
}
115115
.prefersNavigationBarHidden()
116116
#if os(iOS)

0 commit comments

Comments
 (0)