Skip to content

Commit 1cbda92

Browse files
committed
fix: position popups below input fields
1 parent 4ccb265 commit 1cbda92

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DatePicker.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<Popup x:Name="PART_Popup"
122122
AllowsTransparency="True"
123123
CustomPopupPlacementCallback="{x:Static wpf:CustomPopupPlacementCallbackHelper.LargePopupCallback}"
124-
Placement="Custom"
124+
Placement="Bottom"
125125
PlacementTarget="{Binding ElementName=PART_TextBox}"
126126
PopupAnimation="Fade"
127127
StaysOpen="False" />

src/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TimePicker.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
<Popup x:Name="PART_Popup"
134134
AllowsTransparency="True"
135135
CustomPopupPlacementCallback="{x:Static wpf:CustomPopupPlacementCallbackHelper.LargePopupCallback}"
136-
Placement="Custom"
136+
Placement="Bottom"
137137
PlacementTarget="{Binding ElementName=PART_TextBox}"
138138
PopupAnimation="Fade"
139139
StaysOpen="False" />

0 commit comments

Comments
 (0)