Skip to content

Commit

Permalink
II-15-[set fake color view height to 1 to fix issue when content cont…
Browse files Browse the repository at this point in the history
…ains section with headers]
  • Loading branch information
spopovshakuro committed Apr 4, 2024
1 parent 71c0bd2 commit 824281a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PullToRefreshSwiftUI/PullToRefreshListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public struct PullToRefreshListView<AnimationViewType: View, ContentViewType: Vi
// view for offset calculation
Color.clear
.listRowSeparator(.hidden, edges: .top)
.frame(height: 0)
.frame(height: 1)
.listRowInsets(EdgeInsets())
.readLayoutData(coordinateSpace: .global, onChange: { (data) in
let offsetConclusive = data.frameInCoordinateSpace.minY - topOffset
Expand Down

0 comments on commit 824281a

Please sign in to comment.