When adding a shimmer to a button that its state is being controlled by using Delegate Commands, the background color is not updated properly after finishing the animation.
Steps to reproduce
Create a prism project
Add a button with a style that handles the button's visual state
Set a delegate command to enable/disable the button
Add a shimmer with animation
Observe how the button's background color remains the same color instead of the disabled color
Expected behavior
The background is set to its disabled state color
Actual behavior
The background remains in the enabled state color
Basic information
Visual Studio Community 2022 for Mac
Version 17.3.3 (build 10)
Xamarin Forms 5.0.0.2125
Xamarin Forms Skeleton 2.0.0
Prism.Forms 7.2.0.1422
Description
When adding a shimmer to a button that its state is being controlled by using Delegate Commands, the background color is not updated properly after finishing the animation.
Steps to reproduce
Expected behavior
The background is set to its disabled state color
Actual behavior
The background remains in the enabled state color
Basic information
Visual Studio Community 2022 for Mac Version 17.3.3 (build 10)
Xamarin Forms 5.0.0.2125 Xamarin Forms Skeleton 2.0.0 Prism.Forms 7.2.0.1422
View
ViewModel
Styles