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.89k stars 720 forks source link

[XAML] VisualState does not support `Setters` and `Storyboard` at the same time #2042

Open baptiste-nv opened 4 years ago

baptiste-nv commented 4 years ago

Current behavior

A VisualStates with both setters and storyboard only executes storyboard

Expected behavior

Both Setter and Storyboard should be executed

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

Environment

Nuget Package: Uno.UI 1.46.196-dev.2440

Affected platform(s):

Visual Studio:

Relevant plugins:

Anything else we need to know?

jeromelaban commented 4 years ago

Thanks for the report! This looks like it's a concurrency issue, it's most likely that the setters are applied first, then the story board, and it's most probably resetting the X value in this sample.

Does it work properly if the setters change another property that is not on the same sub-object ?