-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animation's ComputeFromValue
is not working correctly
#11896
Labels
kind/bug
Something isn't working
project/animations 🎡
Categorizes an issue or PR as relevant to animations
Comments
MartinZikmund
added
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
project/animations 🎡
Categorizes an issue or PR as relevant to animations
and removed
triage/untriaged
Indicates an issue requires triaging or verification
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
labels
Apr 4, 2023
@dr1rrb assigned this one to you, maybe it was reported in some other form before |
@MartinZikmund nice. Is it related to the expander chevron ? |
MartinZikmund
added a commit
that referenced
this issue
Apr 4, 2023
Yes, exactly. For now I worked around it by removing the animation |
@Xiaoy312 is it something you are currently working on? |
6 tasks
MartinZikmund
added a commit
that referenced
this issue
Apr 6, 2023
MartinZikmund
added a commit
that referenced
this issue
Apr 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Something isn't working
project/animations 🎡
Categorizes an issue or PR as relevant to animations
Current behavior
The
Expander
style in WinUI has the following inCheckedPointerOver
VisualState
:However, the same is in the
Checked
VisualState
to accomodate for keyboard navigation. When the animation finishes, the final value is kept, so subsequent pointer hover should not cause further animation (as the effectiveFrom
value is already 180.0). However, in case of Uno, the chevron snaps to angle 0 and rotates quickly.Expected behavior
No animation should occur on poitner over.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
Our current workaround in
Expander_themeresources.xaml
was to replace all ocurrences ofDuration="0:0:0.1"
byDuration="0:0:0"
. Revert this workaround to see the broken behavior.Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia, Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
No response
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: