From 6a0f105a5b9d120c00a09776beb2290826e1a042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Zitte?= Date: Mon, 29 Nov 2021 11:44:38 -0500 Subject: [PATCH] feat(Flyout): Add a FlyoutPresenterStyle that will help to have fullscreen, modal centered and bottom sheet Flyout BREAKING CHANGE: `MaterialFlyoutPresenterStyle ` was changed for `MaterialContentFlyoutPresenterStyle` and a new `MaterialFlyoutPresenterStyle` was added in order to have fullscreen, modal centered, and bottom sheet Flyout --- .../Uno.Material/Styles/Controls/Flyout.xaml | 42 ++++- .../Uno.Themes.Samples.Shared/App.xaml | 4 + .../Content/Controls/FlyoutSamplePage.xaml | 155 +++++++++++++++++- .../Content/Controls/FlyoutSamplePage.xaml.cs | 7 + 4 files changed, 205 insertions(+), 3 deletions(-) diff --git a/src/library/Uno.Material/Styles/Controls/Flyout.xaml b/src/library/Uno.Material/Styles/Controls/Flyout.xaml index 5e8a41fd6..4606c752e 100644 --- a/src/library/Uno.Material/Styles/Controls/Flyout.xaml +++ b/src/library/Uno.Material/Styles/Controls/Flyout.xaml @@ -11,7 +11,7 @@ mc:Ignorable="not_win ios android wasm"> - + M30.561941,0L31.997,1.393004 10.467954,23.597999 0,15.350999 1.2379759,13.780992 10.287961,20.909952z @@ -28,6 +28,46 @@ + + +