Skip to content

Limit Solarium effect to iOS 26 - #6

Merged
vistar941 merged 1 commit into
mainfrom
agent/fix-solarium-availability
Aug 2, 2026
Merged

Limit Solarium effect to iOS 26#6
vistar941 merged 1 commit into
mainfrom
agent/fix-solarium-availability

Conversation

@vistar941

Copy link
Copy Markdown
Owner

Summary

  • Use the existing useSolariumEffect availability gate for blur and vertical offset.
  • Use the same gate when resolving the default spring animation.
  • Keep the existing fade behavior on iOS versions earlier than 26 and on non-iOS platforms.

Why

The iOS 26 availability check was defined but not used. The implementation referenced preferredSolariumEffect directly, so string-based title APIs enabled the Solarium animation on every supported platform.

Impact

The Solarium-style animation is now limited to iOS 26 and later when using a string-based scrollAwareTitle overload. ViewBuilder-based titles and other platforms retain the standard fade transition.

Validation

  • swift test
  • xcodebuild for generic/platform=iOS Simulator
  • xcodebuild for generic/platform=macOS,variant=Mac Catalyst
  • xcodebuild for platform=macOS

@vistar941
vistar941 marked this pull request as ready for review August 2, 2026 11:45
@vistar941
vistar941 merged commit 5edfd2f into main Aug 2, 2026
3 checks passed
@vistar941
vistar941 deleted the agent/fix-solarium-availability branch August 2, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant