From 40f7f239db2b598d34e6be8e0796c5053cb7c25c Mon Sep 17 00:00:00 2001 From: Stephen Quan Date: Fri, 14 Feb 2025 23:29:27 +1100 Subject: [PATCH 1/4] Change the Expander mechanism to use VerticalStackLayout.HeightRequest instead of Content.IsVisible so that the user can use animate expanding/collapsing modes. --- .../Pages/Views/Expander/ExpanderPage.xaml | 15 +- .../Pages/Views/Expander/ExpanderPage.xaml.cs | 13 +- .../Pages/Views/Expander/ExpanderPageCS.cs | 16 ++- .../Views/Expander/Expander.shared.cs | 136 ++++++++++++------ 4 files changed, 124 insertions(+), 56 deletions(-) diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml index 15ddcb5973..b35365fd6e 100644 --- a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml +++ b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml @@ -17,7 +17,7 @@