Draft
Conversation
- AlertView: Skip redundant OnSizeAllocated, use Grid.SetRow/SetColumn instead of Remove/Add - ListItem: Create dividers once and toggle IsVisible instead of recreating on property changes - ListItem: Add InputTransparent to decorative icon and title/subtitle container - NavigationListItem: Add InputTransparent to decorative arrow icon - BottomSheetHeader: Add InputTransparent to decorative back button image - AlertView: Add InputTransparent to decorative icon - Tab (iOS): Flatten nested VerticalStackLayout + HorizontalStackLayout to single Grid Co-authored-by: Vetle444 <35739538+Vetle444@users.noreply.github.com>
Co-authored-by: Vetle444 <35739538+Vetle444@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Research methods to increase layout performance in components
Improve layout performance across components
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Layout performance audit and optimization across high-frequency components. Key changes:
AlertView – eliminate layout thrashing in
OnSizeAllocatedm_lastAllocatedWidth)Remove/Addcycle withGrid.SetColumn/Grid.SetRowrepositioning — avoids expensive platform handler disconnect/reconnect on every size passInvalidateMeasure()workaround (no longer needed)ListItem – stop recreating dividers on every property change
HasTopDivider/HasBottomDivider(including tofalse) created a newDivider, removed the old one, and re-added — happening twice perVerticalStackLayoutsize change in auto-divider modeIsVisibleTab (iOS) – flatten nested layout containers
VerticalStackLayout > HorizontalStackLayout > Labels(5 levels deep) with a singleGridusingStar/Auto/Auto/Starcolumns for centering. Nesting reduced from 5 to 3 levels, eliminating two measure+arrange passes.InputTransparent on decorative elements
ListItem: icon image, title/subtitle containerNavigationListItem: arrow iconAlertView: alert type iconBottomSheetHeader: back button imageTodos
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.google.com/usr/bin/dotnet dotnet build src/library/DIPS.Mobile.UI/DIPS.Mobile.UI.csproj -f net10.0-android /p:TargetFrameworks=net10.0-android /usr/bin/chmod /usr/bin/chmod acy/getpagesize./usr/bin/chmod /usr/bin/chmod /usr/bin/chmod /usr/bin/chmod 755 4-10.0.3-extracted/tools/emscripten/system/include/emscripten/threading_legacy.h /usr/bin/chmod /usr/bin/chmod ernal/progname.c/usr/bin/chmod /usr/bin/chmod /usr/bin/chmod /usr/bin/chmod(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.