Skip to content

[router] Default formSheet to transparent on iOS 26 liquid glass#42741

Merged
EvanBacon merged 5 commits intomainfrom
@evanbacon/router/form-sheet-background
Feb 4, 2026
Merged

[router] Default formSheet to transparent on iOS 26 liquid glass#42741
EvanBacon merged 5 commits intomainfrom
@evanbacon/router/form-sheet-background

Conversation

@EvanBacon
Copy link
Copy Markdown
Contributor

Summary

  • When liquid glass is enabled on iOS 26, formSheet presentation now defaults to transparent content style, transparent header, and hidden header shadows
  • Adds expo-glass-effect as a dependency to detect liquid glass availability
  • Defaults are applied via ??= so users can still override them explicitly

Test plan

  • Verify formSheet screens show transparent background on iOS 26 with liquid glass
  • Verify formSheet screens still work normally on older iOS versions (defaults not applied)
  • Verify user-specified contentStyle, headerTransparent, headerShadowVisible, headerLargeTitleShadowVisible still override the defaults

🤖 Generated with Claude Code

… with liquid glass

When liquid glass is enabled on iOS 26, formSheet presentation now defaults to transparent content style, transparent header, and no header shadows. Users can still override these defaults.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jan 31, 2026
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jan 31, 2026
@EvanBacon EvanBacon marked this pull request as ready for review February 2, 2026 00:37
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2026

Subscribed to pull request

File Patterns Mentions
packages/expo-router/** @Ubax, @hassankhan, @kitten

Generated by CodeMention

Copy link
Copy Markdown
Contributor

@Ubax Ubax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fantastic 🚀

Inline the optional-chained retrieval of INTERNAL_EXPO_ROUTER_GESTURE_ENABLED_OPTION_NAME into a single assignment to clean up formatting. No functional change intended; updated build/source map artifacts were also included to reflect the TSX change.
@EvanBacon EvanBacon merged commit c9af528 into main Feb 4, 2026
21 of 22 checks passed
@EvanBacon EvanBacon deleted the @evanbacon/router/form-sheet-background branch February 4, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants