From df3953459307392da1adcfd229cbc9c83bba9886 Mon Sep 17 00:00:00 2001 From: Timothy Moose Date: Fri, 25 Oct 2024 12:49:48 -0500 Subject: [PATCH] Fix header sizing bug with StickyHeaderScroll --- .../SwiftUIMaterialTabs/StickyHeader/StickyHeaderScroll.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftUIMaterialTabs/StickyHeader/StickyHeaderScroll.swift b/Sources/SwiftUIMaterialTabs/StickyHeader/StickyHeaderScroll.swift index 714ccfb..fb76a17 100644 --- a/Sources/SwiftUIMaterialTabs/StickyHeader/StickyHeaderScroll.swift +++ b/Sources/SwiftUIMaterialTabs/StickyHeader/StickyHeaderScroll.swift @@ -64,7 +64,7 @@ public struct StickyHeaderScroll: View where Content: View, Item: contentOffset: -offset, deltaContentOffset: -(offset - contentOffset) ) - contentOffset = -offset + contentOffset = offset } content( StickyHeaderScrollContext(