|
14 | 14 | <converters:MathMultipleConverter x:Key="MathMultipleConverter" Operation="Multiply"/>
|
15 | 15 |
|
16 | 16 | <Storyboard x:Key="MaterialDesignComboBoxPopupAnimationExpand">
|
17 |
| - <DoubleAnimation Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Opacity" |
18 |
| - From="0" To="1" Duration="0:0:0.5" |
19 |
| - AccelerationRatio="0.7" DecelerationRatio="0.3"/> |
20 | 17 | <ThicknessAnimation Storyboard.TargetName="shadow"
|
21 | 18 | Storyboard.TargetProperty="Margin"
|
22 | 19 | From="16 0 0 0" To="0 0 0 0"
|
|
27 | 24 | From="0" To="1"
|
28 | 25 | AccelerationRatio="0.7" DecelerationRatio="0.3"
|
29 | 26 | Duration="0:0:0.5"/>
|
| 27 | + <DoubleAnimation Storyboard.TargetName="PopupTemplateRootGrid" |
| 28 | + Storyboard.TargetProperty="Opacity" |
| 29 | + AccelerationRatio="0.7" DecelerationRatio="0.3" |
| 30 | + From="0" To="1" Duration="0:0:0.4"/> |
30 | 31 | </Storyboard>
|
31 | 32 |
|
32 | 33 | <Storyboard x:Key="MaterialDesignComboBoxPopupAnimationCollapse">
|
33 |
| - <DoubleAnimation Storyboard.TargetName="ItemsPresenter" Storyboard.TargetProperty="Opacity" |
| 34 | + <DoubleAnimation Storyboard.TargetName="PopupTemplateRootGrid" |
| 35 | + Storyboard.TargetProperty="Opacity" |
34 | 36 | To="0" Duration="0:0:0"/>
|
35 | 37 | <DoubleAnimation Storyboard.TargetName="AnimationScrollViewer"
|
36 | 38 | Storyboard.TargetProperty="Tag"
|
|
290 | 292 | PopupAnimation="None"
|
291 | 293 | Placement="RelativePoint">
|
292 | 294 | <Grid MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
| 295 | + x:Name="PopupTemplateRootGrid" |
293 | 296 | Margin="5"
|
294 | 297 | MinWidth="{Binding ActualWidth, ElementName=templateRoot, Converter={StaticResource MathAddConverter}, ConverterParameter=16}">
|
295 | 298 | <Grid.RowDefinitions>
|
|
494 | 497 | <ScaleTransform ScaleY="1"/>
|
495 | 498 | </Popup.RenderTransform>
|
496 | 499 | <Grid MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
| 500 | + x:Name="PopupTemplateRootGrid" |
497 | 501 | Margin="5"
|
498 | 502 | MinWidth="{Binding ActualWidth, ElementName=templateRoot, Converter={StaticResource MathAddConverter}, ConverterParameter=16}">
|
499 | 503 | <Grid.RowDefinitions>
|
|
0 commit comments