-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners
Description
Describe the bug
There is a regression where PlaceholderText for the AutoSuggestBox is not properly aligned anymore. I noticed this while updating Microsoft.WindowsAppSDK in a small project from 1.5.240607001 to 1.6.250108002 (latest).
Steps to reproduce the bug
- Create a new Black App, Packaged (WinUI 3 in Desktop) project.
At the time of writing, the latest package version for Microsoft.WindowsAppSDK would be:
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.250108002" />- Modify the
MainWindow.xaml:
<Grid Margin="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<AutoSuggestBox
Margin="5"
PlaceholderText="Search for something here..."
QueryIcon="Find" />
</Grid>- You can see the
PlaceholderTextis not centered vertically:
But if you write something, the actual text will be aligned as expected:
Expected behavior
If you change the Microsoft.WindowsAppSDK package version to 1.5, for example:
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240607001" />You can see the PlaceholderText is aligned as expected:
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners


