Skip to content

Commit e91eaca

Browse files
committed
popup can't be bottom case
1 parent e0e5743 commit e91eaca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/iNKORE.UI.WPF.Modern/Controls/Helpers/WinUIComboBoxBehaviorHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ private static void AlignSelectedContainer(ComboBox comboBox, Popup popup, bool
103103
itemContainer.TranslatePoint(new Point(0, -itemContainer.ActualHeight + comboBox.Padding.Top),
104104
comboBox) is not { Y: not 0 } itemTop)
105105
{
106+
popup.VerticalOffset = 0;
106107
return;
107108
}
108109

0 commit comments

Comments
 (0)