Hello,
I have an issue with the Progress Button component. It works as expected, except if I call manually call its StopProgress() method. After I call StopProgress(), the button still works, but the zoom-out effect stops working.
If a Duration is specified for the button, and the button is clicked, the button's zoom-out effect works as expected: the animation plays, the progress advances until the completion, and then the zoom-out effect works fine when clicked again.
However, if I call StopProgress() while it's progressing to stop the animation, the zoom-out effect won't work again until I reload the page.
For example, this button has a duration of 3000ms:
<SfProgressButton @ref="@ProgressButton" @onclick="Clicked" Content="Send" EnableProgress="true" Duration="3000" CssClass="e-small e-danger">
<ProgressButtonSpinSettings Position="SpinPosition.Center" />
<ProgressButtonAnimationSettings Effect="Syncfusion.Blazor.SplitButtons.AnimationEffect.ZoomOut" />
</SfProgressButton>
And my C# code, which calls ProgressComplete() after 500ms:
private async Task Clicked(Microsoft.AspNetCore.Components.Web.MouseEventArgs args)
{
await Task.Delay(500);
await ProgressButton.ProgressComplete();
}
This will cause the zoom-out animation to never work again until the page is reloaded.