Skip to content

fix: keep visionOS hosting backgrounds transparent - #1252

Merged
Kyle-Ye merged 1 commit into
mainfrom
bugfix/vision_background
Nov 7, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
bugfix/vision_background

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Keep hosting views transparent for the vision interface idiom, removing the extra system background in both #Preview and PreviewProvider on visionOS.
  • Add compatibility tests for light and dark appearances.

Fixes #1251

@Kyle-Ye Kyle-Ye added this to the 0.26.0 milestone Nov 7, 2026
@github-actions github-actions Bot added area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. platform: visionOS visionOS-specific behavior or support. type: bug Something is not working correctly. labels Nov 7, 2026
@tuist

tuist Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 adf31678e

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 47.7s adf31678e

@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.03%. Comparing base (e693ac1) to head (6bb1cef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1252      +/-   ##
==========================================
- Coverage   31.59%   28.03%   -3.56%     
==========================================
  Files        1013      936      -77     
  Lines       82320    69192   -13128     
==========================================
- Hits        26005    19397    -6608     
+ Misses      56315    49795    -6520     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 93628e2 into main Nov 7, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the bugfix/vision_background branch November 7, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. platform: visionOS visionOS-specific behavior or support. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix visionOS hosting backgrounds in previews

1 participant