Add InheritsTransform="True" to all popup controls for consistent transform behavior

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-25 06:09:02 +00:00
parent 68dfaa8a57
commit 1f02f28f8b
5 changed files with 7 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
<Popup
Name="PART_Popup"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
InheritsTransform="True"
IsLightDismissEnabled="True"
PlacementTarget="{TemplateBinding}">
<Border
@@ -67,6 +68,7 @@
<Popup
Name="PART_Popup"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
InheritsTransform="True"
IsLightDismissEnabled="True"
PlacementTarget="{TemplateBinding}">
<Border

View File

@@ -96,6 +96,7 @@
<Popup
Name="PART_Popup"
Grid.Column="0"
InheritsTransform="True"
IsLightDismissEnabled="True"
Placement="BottomEdgeAlignedLeft"
PlacementTarget="{TemplateBinding}">

View File

@@ -226,6 +226,7 @@
Name="PART_Popup"
Grid.Column="0"
Grid.ColumnSpan="2"
InheritsTransform="True"
IsLightDismissEnabled="True"
Placement="Bottom"
PlacementTarget="{TemplateBinding}"

View File

@@ -191,6 +191,7 @@
<Popup
Name="PART_Popup"
HorizontalOffset="-8"
InheritsTransform="True"
IsLightDismissEnabled="False"
IsOpen="{TemplateBinding IsSubMenuOpen,
Mode=TwoWay}"
@@ -326,6 +327,7 @@
Name="PART_Popup"
MinWidth="{Binding $parent[MenuItem].Bounds.Width}"
HorizontalOffset="-8"
InheritsTransform="True"
IsLightDismissEnabled="True"
IsOpen="{TemplateBinding IsSubMenuOpen,Mode=TwoWay}"
OverlayInputPassThroughElement="{Binding $parent[Menu]}"

View File

@@ -291,6 +291,7 @@
Name="PART_Popup"
Grid.Column="0"
Grid.ColumnSpan="2"
InheritsTransform="True"
IsLightDismissEnabled="True"
Placement="Bottom"
PlacementTarget="{TemplateBinding}"