Skip to content

Fix inherited platform view state propagation - #1034

Merged
Kyle-Ye merged 2 commits into
mainfrom
feature/jindo
Aug 30, 2026
Merged

Kyle-Ye merged 2 commits into
mainfrom
feature/jindo

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

Preserve the incoming parent state when materializing inherited views. The merged local state may reset inherited transforms and clips for child content, so passing it to the inherited wrapper could position platform-backed views incorrectly.

Apply the same state separation to synchronous and asynchronous updates, exercise the behavior with ProgressView in the JindoKit example, and add cross-platform snapshot coverage for a platform view inside a clipped ancestor.

Validated against SwiftUI reference snapshots on iOS 18.5 Simulator and macOS.

@github-actions github-actions Bot added area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. impact: visual-diff Visual mismatch, screenshot diff, or rendering fidelity issue. type: bug Something is not working correctly. labels Aug 30, 2026
@tuist

tuist Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 82 0 82 3c43b71f0

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 4m 40s 3c43b71f0

@codecov

codecov Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.03%. Comparing base (455c116) to head (f50fdbd).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...re/Render/DisplayList/DisplayListViewUpdater.swift 0.00% 33 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1034       +/-   ##
===========================================
+ Coverage   17.22%   29.03%   +11.81%     
===========================================
  Files         724      772       +48     
  Lines       53756    61598     +7842     
===========================================
+ Hits         9257    17886     +8629     
+ Misses      44499    43712      -787     

☔ 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 7dc2cee into main Aug 30, 2026
9 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/jindo branch August 30, 2026 12:06
@Kyle-Ye Kyle-Ye linked an issue Nov 22, 2026 that may be closed by this pull request
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. area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. impact: visual-diff Visual mismatch, screenshot diff, or rendering fidelity issue. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MatchedGeometryEffectClipShapeModifierExample buggy behavior

1 participant