Skip to content

[iOS 26+] Improve glass support for BottomSheetController - #2277

Merged
nodes11 merged 2 commits into
microsoft:mainfrom
nodes11:port_bottomsheet_changes_v2
Jul 13, 2026
Merged

[iOS 26+] Improve glass support for BottomSheetController#2277
nodes11 merged 2 commits into
microsoft:mainfrom
nodes11:port_bottomsheet_changes_v2

Conversation

@nodes11

@nodes11 nodes11 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • visionOS
  • macOS

Description of changes

This PR brings in a few changes to improve the liquid glass support for the BottomSheetController.

  • Add a usesAdaptiveBackground public property which clients can set so that the sheet background changes from glass to solid when transitioning from a partial sheet to a full sheet. This matches the behavior seen with the native sheets.
  • Add helper methods aid the transition from a glassy background to a solid background
  • Don't apply fluent shadow to bottomsheetview when glass is being used and the OS >= 26. Without this change, the header UINavigationBar renders incorrectly.

Binary change

(how is our binary size impacted -- see https://github.com/microsoft/fluentui-apple/wiki/Size-Comparison)

Verification

  • Validated using internal use cases
  • Validated in the demo controller
Visual Verification
Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-07-13.at.13.40.51.mov

Pull request checklist

This PR has considered:

  • Light and Dark appearances
  • iOS supported versions (all major versions greater than or equal current target deployment version)
  • VoiceOver and Keyboard Accessibility
  • Internationalization and Right to Left layouts
  • Different resolutions (1x, 2x, 3x)
  • Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
  • iPad Pointer interaction
  • SwiftUI consumption (validation or new demo scenarios needed)
  • Objective-C exposure (provide it only if needed)
Microsoft Reviewers: Open in CodeFlow

@nodes11
nodes11 requested a review from a team as a code owner July 13, 2026 20:41
@nodes11
nodes11 enabled auto-merge (squash) July 13, 2026 21:24
@nodes11
nodes11 merged commit b54e3be into microsoft:main Jul 13, 2026
7 checks passed
@nodes11 nodes11 mentioned this pull request Aug 3, 2026
12 tasks
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.

2 participants