Hi!
I am trying to understand the difference between TouchEffect.AnimationDuration and TouchEffect.PressedAnimationDuration.
The markup below works fine:
<Frame CornerRadius =" 30"
Padding =" 30, 5"
HorizontalOptions =" CenterAndExpand"
VerticalOptions =" CenterAndExpand"
xct:TouchEffect.PressedScale=" 0.9"
xct:TouchEffect.AnimationDuration=" 100"
xct:TouchEffect.AnimationEasing=" CubicInOut"
HasShadow =" False"
BackgroundColor =" #0178D4"
>
<Grid ColumnDefinitions =" Auto, Auto" >
<Label Text =" AnimationDuration" FontSize =" 28" TextColor =" White" Padding =" 0, 10" />
<Label Grid.Column=" 1" Text ="  " FontFamily =" FASolid" FontSize =" 28" Margin =" 0,5,0,0" Padding =" 20,10,0,0" TextColor =" White" />
</Grid >
</Frame >
However, the markup below causes the animation to be "stuck"
<Frame CornerRadius =" 30"
Padding =" 30, 5"
HorizontalOptions =" CenterAndExpand"
VerticalOptions =" CenterAndExpand"
xct:TouchEffect.PressedScale=" 0.9"
xct:TouchEffect.PressedAnimationDuration=" 100"
xct:TouchEffect.AnimationEasing=" CubicInOut"
HasShadow =" False"
BackgroundColor =" #0178D4"
>
<Grid ColumnDefinitions =" Auto, Auto" >
<Label Text =" AnimationDuration" FontSize =" 28" TextColor =" White" Padding =" 0, 10" />
<Label Grid.Column=" 1" Text ="  " FontFamily =" FASolid" FontSize =" 28" Margin =" 0,5,0,0" Padding =" 20,10,0,0" TextColor =" White" />
</Grid >
</Frame >
SM.G930U.2021-02-24.17-27-24.mp4
Please see the attached screen capture where the button looks like it is stuck when pressed.
I feel like this is more of a misunderstanding on my part rather than a bug which is why I didn't report this as a bug.