Skip to content

Commit df30f7e

Browse files
authored
Setting min height of popup (#1578)
This fixes the issue where an empty combobox does not show on the first click. Fixes #1261
1 parent e5a85a3 commit df30f7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ComboBox.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@
524524
ClassicContentTemplate="{StaticResource PopupContentClassicTemplate}">
525525
<ContentControl>
526526
<ScrollViewer MaxHeight="{TemplateBinding MaxDropDownHeight}"
527+
MinHeight="1"
527528
Background="{Binding Background, ElementName=PART_Popup}">
528529
<ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Contained" />
529530
</ScrollViewer>

0 commit comments

Comments
 (0)