unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.88k stars 717 forks source link

`AutoReverse` in animations doesn't work in Uno.WinUI on macOS #5382

Closed vadd98 closed 4 months ago

vadd98 commented 3 years ago

Current behavior

I'm using storyboards with the AutoReverse property set to true in order to make an ellipse enlarge and then come back to its original size. By the way, when the animation ends it doesn't reverse, instead it begins again.

Expected behavior

Animations have to reverse their behaviour when AutoReverse property is set to true.

How to reproduce it (as minimally and precisely as possible)

1) add a storyboard in xaml with the AutoReverse property set to true 2) start the animation

Workaround

Control manually the reversing of the animation, reversing it step by step using keyframes.

Environment

Nuget Package:

Nuget Package Version(s): Uno.WinUI 3.5.0

Affected platform(s):

IDE:

Relevant plugins:

Anything else we need to know?

Avid29 commented 1 year ago

Any progress?

I'm currently looking to use AutoReverse in a control poised for toolkit labs: https://github.com/CommunityToolkit/Labs-Windows/pull/275, and I've had to alter it to restrict features on Uno.

MartinZikmund commented 4 months ago

This is no longer relevant as we have a new macOS backend 🚀