Skip to content

Commit 47f3dd1

Browse files
authored
August 11th, inflight/candidate (#31014)
--- title: ".NET MAUI main-to-inflight-candidate Release Notes" date: 2025-08-08 version: "main-to-inflight-candidate" comparison: "main...inflight/candidate" full_changelog: "main...inflight/candidate" description: "Release notes for .NET MAUI main-to-inflight-candidate, covering 10 commits with enhancements and improvements." --- # .NET MAUI main-to-inflight-candidate Release Notes **Version:** main-to-inflight-candidate **Comparison:** main...inflight/candidate **Generated:** August 08, 2025 **Last Updated:** August 08, 2025 **Latest Commit Range:** 7f99494 **Total Commits:** 10 ## What's Changed This release includes 10 commits with various improvements, bug fixes, and enhancements to the .NET MAUI framework. ### .NET MAUI Product Fixes - Update MauiRecyclerView.cs by @github-actions[bot] in #31050 - Added the GraphicsView base images for Windows and mac platforms by @nivetha-nagalingam in #31018 - Fixed CollectionView does not update layout correctly when ItemsSource changes by @Dhivya-SF4094 in #30978 - Fixes #30953 - Fix duplicate app icon resizing by @jeremy-visionaid in #30920 - Fixed GraphicsView event handlers are triggered even when IsEnabled is set to False by @Dhivya-SF4094 in #30755 - Fixes #30649 - [iOS, Mac] Fix for Picker title is not displayed again when SelectedIndex is set to -1 by @HarishwaranVijayakumar in #30486 - Fixes #31011, #30463 ### Testing - [Testing] Feature matrix UITest Cases for GraphicsView Control by @nivetha-nagalingam in #30781 - [Testing] Feature matrix UITest Cases for HybridWebView Control by @NafeelaNazhir in #30613 ### Housekeeping - [create-pull-request] automated change by @github-actions[bot] in #30890 - [create-pull-request] automated change by @github-actions[bot] in #30700 **Full Changelog**: main...inflight/candidate
2 parents 8c527ff + 7f99494 commit 47f3dd1

File tree

86 files changed

+4007
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+4007
-141
lines changed

src/Controls/src/Core/Handlers/Items/Android/MauiRecyclerView.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,18 @@ public virtual void UpdateCanReorderItems()
286286

287287
public virtual void UpdateLayoutManager()
288288
{
289-
_layoutPropertyChangedProxy?.Unsubscribe();
289+
var itemsLayout = _getItemsLayout();
290+
291+
if (itemsLayout == ItemsLayout)
292+
{
293+
return;
294+
}
290295

291-
ItemsLayout = _getItemsLayout();
296+
_layoutPropertyChangedProxy?.Unsubscribe();
297+
ItemsLayout = itemsLayout;
292298

293299
// Keep track of the ItemsLayout's property changes
294-
if (ItemsLayout != null)
300+
if (ItemsLayout is not null)
295301
{
296302
_layoutPropertyChanged ??= LayoutPropertyChanged;
297303
_layoutPropertyChangedProxy = new WeakNotifyPropertyChangedProxy(ItemsLayout, _layoutPropertyChanged);

src/Controls/src/Core/Handlers/Items2/ItemsViewHandler2.iOS.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ public override Size GetDesiredSize(double widthConstraint, double heightConstra
184184
{
185185
var contentSize = Controller.GetSize();
186186

187+
// If contentSize comes back null, it means none of the content has been realized yet;
188+
// we need to return the expansive size the collection view wants by default to get
189+
// it to start measuring its content
190+
if (contentSize.Height == 0 || contentSize.Width == 0)
191+
{
192+
return base.GetDesiredSize(widthConstraint, heightConstraint);
193+
}
194+
187195
// Our target size is the smaller of it and the constraints
188196
var width = contentSize.Width <= widthConstraint ? contentSize.Width : widthConstraint;
189197
var height = contentSize.Height <= heightConstraint ? contentSize.Height : heightConstraint;
77.9 KB
Loading
72.8 KB
Loading
88.8 KB
Loading
68.1 KB
Loading
70.1 KB
Loading
74.4 KB
Loading
71.8 KB
Loading
71.8 KB
Loading

0 commit comments

Comments
 (0)