WindowsAppSDK
WindowsAppSDK copied to clipboard
Scale transforms don't apply to ComboBox popups
Describe the bug
When running as an packaged or unpackaged app, applying a RenderTransform or CompositeTransform doesn't scale the ComboBox popup. Using a Viewbox also does not work properly.
This also results in wrong hit-testing too.
Steps to reproduce the bug
- Add the following into a sample app:
<ComboBox
Width="300"
Height="50">
<ComboBox.RenderTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</ComboBox.RenderTransform>
<ComboBox.Items>
<x:String>Hello world</x:String>
<x:String>Hello world</x:String>
<x:String>Hello world</x:String>
<x:String>Hello world</x:String>
<x:String>Hello world</x:String>
</ComboBox.Items>
</ComboBox>
- Debug the app
Expected behavior
The ComboBox popup should also scale to the parent ComboBox
Screenshots
No response
NuGet package version
None
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
This issue is affecting customers using Dotnet MAUI