diff --git a/CodeBeam.MudBlazor.Extensions/Components/StepperExtended/MudStepperExtended.razor.cs b/CodeBeam.MudBlazor.Extensions/Components/StepperExtended/MudStepperExtended.razor.cs index 358c1fae..f62f317a 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/StepperExtended/MudStepperExtended.razor.cs +++ b/CodeBeam.MudBlazor.Extensions/Components/StepperExtended/MudStepperExtended.razor.cs @@ -413,7 +413,7 @@ public async Task SetActiveIndex(int count, bool firstCompleted = false, bool sk int backupActiveIndex = ActiveIndex; - if (_animate != null) + if (_animate != null && Animation == true) { await _animate.Refresh(); } @@ -482,7 +482,7 @@ public async Task SetActiveStepByIndex(int index, bool firstCompleted = false, b return; } - if (_animate != null) + if (_animate != null && Animation == true) { await _animate.Refresh(); }