Skip to content

Commit

Permalink
Fix placement of searchview
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Nov 12, 2023
1 parent bd16417 commit 1cb1370
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<Border Style="{StaticResource ResultAreaBorderStyle}">
Expand Down Expand Up @@ -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}">
<Popup.Resources>
<CollectionViewSource x:Key="GroupedSuggestions" Source="{Binding SearchViewModel.Suggestions}">
Expand Down

0 comments on commit 1cb1370

Please sign in to comment.