Skip to content

[iOS] ScrollView: Clamp ScrollTo requests against AdjustedContentInset - #37060

Merged
kubaflo merged 11 commits into
dotnet:inflight/currentfrom
albyrock87:fix-36801-scrollto-adjustedinsets
Aug 10, 2026
Merged

kubaflo merged 11 commits into
dotnet:inflight/currentfrom
albyrock87:fix-36801-scrollto-adjustedinsets

Gate element requests on arranged geometry; single event raise per re…

e3f386a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App) failed Aug 10, 2026 in 12m 56s

Build UITests Sample App Build Sample App failed

Annotations

Check failure on line 17 in src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/UIContainerCell.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/UIContainerCell.cs#L17

src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/UIContainerCell.cs(17,22): Error MEM0002: Member '_viewResource' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.

Check failure on line 49 in src/Controls/src/Core/Handlers/Items/iOS/MauiCollectionView.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Handlers/Items/iOS/MauiCollectionView.cs#L49

src/Controls/src/Core/Handlers/Items/iOS/MauiCollectionView.cs(49,15): Error MEM0002: Member '_contentOffsetObserver' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.

Check failure on line 1410 in src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs#L1410

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs(1410,17): Error MEM0002: Member '_largeTitleProxyScrollView' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.

Check failure on line 1411 in src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs#L1411

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs(1411,17): Error MEM0002: Member '_largeTitleObservedScrollView' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.

Check failure on line 1412 in src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs#L1412

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs(1412,16): Error MEM0002: Member '_largeTitleContentOffsetObserver' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.