From 1cb137007ce681a2ae5f9f69e955d9c09f7ce94f Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Sun, 12 Nov 2023 15:17:52 -0800 Subject: [PATCH] Fix placement of searchview --- .../Toolkit.WPF/UI/Controls/SearchView/SearchView.Theme.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Toolkit/Toolkit.WPF/UI/Controls/SearchView/SearchView.Theme.xaml b/src/Toolkit/Toolkit.WPF/UI/Controls/SearchView/SearchView.Theme.xaml index 60415d3fb..fc92004e1 100644 --- a/src/Toolkit/Toolkit.WPF/UI/Controls/SearchView/SearchView.Theme.xaml +++ b/src/Toolkit/Toolkit.WPF/UI/Controls/SearchView/SearchView.Theme.xaml @@ -337,7 +337,7 @@ Width="{Binding ElementName=Self, Path=ActualWidth, Mode=OneWay}" HorizontalOffset="-1" IsOpen="{Binding IsSourceSelectOpen, Mode=TwoWay}" - Placement="Left" + Placement="Bottom" PlacementTarget="{Binding ElementName=PopupTarget}" StaysOpen="False"> @@ -391,7 +391,7 @@ Width="{Binding ElementName=Self, Path=ActualWidth, Mode=OneWay}" HorizontalOffset="-1" IsOpen="{Binding SearchViewModel.Suggestions.Count, Mode=OneWay, Converter={StaticResource CollectionIsEmptyToBoolConverter}, ConverterParameter='NotEmpty'}" - Placement="Left" + Placement="Bottom" PlacementTarget="{Binding ElementName=PopupTarget}">