[Android] Animation on Opacity Issue #16729
Labels
area-animation
Animation, Transitions, Transforms
fixed-in-8.0.0-rc.1.9171
Look for this fix in 8.0.0-rc.1.9171
platform/android 🤖
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
If you perform an animation on a controls Opacity property, the maximum value will be the value when the control was created.
For instance, I have a control the starts out at Opacity=0.5, the animation sets the Opacity value to 1.0, but the Opacity range is now set to 0=>.5, so setting it to 1.0 means an actual Opacity of .5.
In the example below. five controls are created with opacity values of 1.0, .75, .50, .25, and 0.0.
The first button animates each to an opacity of 0.0, the second to an opacity of 1.0. You can see the Opacity value on the right go from 0 to 1, but the actual opacity is capped at its initial value.
This works fine on Windows... and I haven't tested to see if other properties are effected.
Steps to Reproduce
Problem: If I have two layered controls on a form and set a click event to fade one in and out, the control that starts off with opacity=0 will never show....
Expected outcome: Opacity works correctly.
Link to public reproduction project repository
https://github.com/Stedy59/StedySoft.AnimationIssues.1
Version with bug
8.0.0-preview.7.8842
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android API 34
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: