Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale transforms don't apply to ComboBox popups #4424

Closed
Foda opened this issue May 16, 2024 · 1 comment
Closed

Scale transforms don't apply to ComboBox popups #4424

Foda opened this issue May 16, 2024 · 1 comment

Comments

@Foda
Copy link
Member

Foda commented May 16, 2024

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.
image

This also results in wrong hit-testing too.

Steps to reproduce the bug

  1. 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>
  1. 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

@codendone
Copy link
Contributor

This issue was fixed in 1.5.2:

Fixed a problem where ShouldConstrainToRootBounds="false" popups/flyouts don't apply any inherited scale transform. For more info, see GitHub issues #9118 and #9433.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants