diff --git a/CodeBeam.MudBlazor.Extensions/Components/Stepper/MudStepper.razor.cs b/CodeBeam.MudBlazor.Extensions/Components/Stepper/MudStepper.razor.cs index a44995c0..b2812235 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/Stepper/MudStepper.razor.cs +++ b/CodeBeam.MudBlazor.Extensions/Components/Stepper/MudStepper.razor.cs @@ -202,7 +202,7 @@ protected internal async Task SetActiveIndex(MudStep step) await _animate.Refresh(); } ActiveIndex = Steps.IndexOf(step); - await ActiveStepChanged.InvokeAsync(); + await ActiveStepChanged.InvokeAsync(ActiveIndex); } public async Task SetActiveIndex(int count, bool firstCompleted = false, bool skipPreventProcess = false) @@ -250,7 +250,7 @@ public async Task SetActiveIndex(int count, bool firstCompleted = false, bool sk if (backupActiveIndex != ActiveIndex) { - await ActiveStepChanged.InvokeAsync(); + await ActiveStepChanged.InvokeAsync(ActiveIndex); } }