You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The options for the AutoSuggestBox suggestion list flows in an unusual manner, based on distance of box's top to window top and box's bottom to monitors bottom, depending on distance between these two it decides whether to flow upwards on downwards.
Issue arises when there is clearly space for the suggestion list to flow down and explicitly MaxSuggestionListHeight is set and its value lower than the distance previously mentioned.
To test this if we minimize the application and place it towards top of the monitor it results in suggestion list flowing down and vice versa regardless of application screen size and suggestion list height.
Current behavior results in inconsistent and weird ui especially when using suggest boxes in autocompletes for example in forms.
Steps to reproduce the bug
Create any WinUi App
Create a new page and an AutoSuggestBox
Make sure to place it slightly below the center vertically
Expected behavior
Expected behavior is for the AutoSuggestBox to respect the MaxSuggestionListHeight value when computing the flow of the suggestion list items.
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
The options for the AutoSuggestBox suggestion list flows in an unusual manner, based on distance of box's top to window top and box's bottom to monitors bottom, depending on distance between these two it decides whether to flow upwards on downwards.
Issue arises when there is clearly space for the suggestion list to flow down and explicitly
MaxSuggestionListHeight
is set and its value lower than the distance previously mentioned.To test this if we minimize the application and place it towards top of the monitor it results in suggestion list flowing down and vice versa regardless of application screen size and suggestion list height.
Current behavior results in inconsistent and weird ui especially when using suggest boxes in autocompletes for example in forms.
Steps to reproduce the bug
Expected behavior
Expected behavior is for the AutoSuggestBox to respect the
MaxSuggestionListHeight
value when computing the flow of the suggestion list items.Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: