Skip to content

0.7.0

Choose a tag to compare

@danielsaidi danielsaidi released this 09 Apr 18:36
· 28 commits to main since this release

This version moves examples into a new namespace and renames some View extensions to make more sense.

✨ New Features

  • The ScrollViewWithStickyHeader has a new headerStretch parameter.
  • The ScrollViewWithStickyHeader has a new contentCornerRadius parameter.
  • The new scrollViewContentWithHeaderOverlap(...) view extension can apply a header overlap to a scroll view content view.
  • The new scrollViewContentWithRoundedHeaderOverlap(...) view extension can apply a rounded header overlap to a scroll view content view.
  • The new scrollViewHeaderWithRoundedContentMask(...) view extension can apply a rounded corner mask to a scroll view header.

💡 Behavior Changes

  • ScrollViewWithStickyHeader now wraps its content in a GeometryReader to properly handle scroll offset.

🐛 Bug Fixes

  • ScrollViewWithStickyHeader now honors the provided min height better, by using the geometry reader safe area insets.

🗑️ Deprecations

  • All examples have been moved into a new Examples namespace.
  • The hideStatusBarUntilScrolled view extension has been renamed to statusBarHiddenUntilScrolled.
  • The withScrollOffsetTracking view extension has been renamed to scrollViewOffsetTracking.