Skip to content

[Revert] Fix iOS ProgressBar bounding box#35868

Merged
kubaflo merged 1 commit into
dotnet:inflight/candidatefrom
SubhikshaSf4851:revert-issue-7935
Jun 12, 2026
Merged

[Revert] Fix iOS ProgressBar bounding box#35868
kubaflo merged 1 commit into
dotnet:inflight/candidatefrom
SubhikshaSf4851:revert-issue-7935

Conversation

@SubhikshaSf4851

@SubhikshaSf4851 SubhikshaSf4851 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment whether this change resolves your issue. Thank you!

Description of Change

Reverts the iOS ProgressBar height-scaling behavior introduced in #35507.

That PR wrapped UIProgressView in a container and vertically scaled it to fill the MAUI-arranged height. While technically correct in isolation, this changes the cross-platform behavior:

  • Before Fix iOS ProgressBar bounding box #35507: A ProgressBar assigned a parent height of 200 occupies the allocated 200px layout area, but the ProgressBar track is rendered at its native default height — consistent across iOS, Android, and Windows.
  • After Fix iOS ProgressBar bounding box #35507: On iOS, the ProgressBar track is stretched to fill the full 200px height, which does not match Android or Windows behavior.

We also validated this in native iOS: when a height is assigned to the parent container, UIProgressView renders at its default intrinsic height and is not stretched — confirming that the previous MAUI behavior was the correct cross-platform baseline.

Impact

  • All existing iOS ProgressBar device tests are failing after Fix iOS ProgressBar bounding box #35507.
  • The ProgressBar_ProgressToMethod_VerifyVisualState test visually demonstrates the inconsistency (screenshots attached ).

Screenshots

Platform Before #35507 (expected) After #35507 (regression)
iOS ProgressBar_ProgressToMethod_VerifyVisualState ProgressBar_ProgressToMethod_VerifyVisualState
Mac ProgressBar_ProgressToMethod_VerifyVisualState (2) ProgressBar_ProgressToMethod_VerifyVisualState
Windows ProgressBar_ProgressToMethod_VerifyVisualState N/A
Android ProgressBar_ProgressToMethod_VerifyVisualState (1) N/A

cc : @AdamEssenmacher

@Tamilarasan-Paranthaman Tamilarasan-Paranthaman added community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels Jun 11, 2026
@SubhikshaSf4851 SubhikshaSf4851 marked this pull request as ready for review June 11, 2026 13:53
@kubaflo kubaflo merged commit f037799 into dotnet:inflight/candidate Jun 12, 2026
38 of 41 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR9 milestone Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-controls-progressbar ProgressBar community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/ios platform/macos macOS / Mac Catalyst

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants