This commit is contained in:
Daniel Clark
2021-02-05 01:42:11 +00:00
parent 45a9eb9cd2
commit 275bded665
3 changed files with 3 additions and 3 deletions
@@ -23,7 +23,7 @@ namespace NotificationFlyout.Uwp.UI.Controls
{
if (_root == null) return;
var flyout = FlyoutBase.GetAttachedFlyout(_root);
flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode });
flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode, ShowMode = FlyoutShowMode.Standard });
}
public void ShowFlyout()
@@ -8,7 +8,7 @@
<ControlTemplate TargetType="controls:NotificationFlyoutPresenter">
<Grid x:Name="Root">
<FlyoutBase.AttachedFlyout>
<Flyout ShouldConstrainToRootBounds="False" ShowMode="Standard">
<Flyout ShouldConstrainToRootBounds="False">
<ContentControl Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
</Flyout>
</FlyoutBase.AttachedFlyout>