Open poepoe12002 opened 6 years ago
Thanks for the detailed report ! We still have work to do to bring animations to the next level, such as supporting AutoReverse.
Encouter a simular issue using a DoubleAnimation to perform a TranslateTransform on a Grid. Working well on UWP. Doesn't work on iOS and Android. WASM is not in our scope so I can't confirm that point.
<DoubleAnimation Storyboard.TargetName="PreviewBanner"
Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"
Duration="0:0:0.35"
To="80">
<DoubleAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseIn" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="ZoomedOutBanner"
Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"
Duration="0:0:0.35"
To="0">
<DoubleAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseIn" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
Quick status of the DoubleAnimation
:
iOS | Android | Wasm | ||
---|---|---|---|---|
Repeat | Forever | yes | no | yes |
Duration | no | no | no | |
Count | no | no | no | |
AutoReverse | no | no | no | |
BeginTime | yes | yes | yes | |
SpeedRatio | no | no | no |
Notes:
BeginTime
on WASM, the 2 animations was not synchronized and the result was a bit strange.There are too much changes to get it fixed in the bug bash, this work has to be planned.
case2: [droid-only] dependent animation stops working after 1loop
case3: [uno-any] AutoReverse is just not implemented...
I'm submitting a...
Bug report (I searched for similar issues and did not find one) Feature request
Current behavior
The code snippets below don't work as expected on Android and Wasm
Expected behavior
Minimal reproduction of the problem with instructions
Environment