Skip to content

Commit

Permalink
Carousel Shown was triggering OnHidden this has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jbomhold3 committed Dec 7, 2024
1 parent f94d46f commit c824b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BlazorStrap/BlazorStrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageProjectUrl>https://blazorstrap.io/</PackageProjectUrl>
<RepositoryUrl>https://github.com/chanan/BlazorStrap</RepositoryUrl>
<RootNamespace>BlazorStrap</RootNamespace>
<PackageVersion>5.2.103-120624</PackageVersion>
<PackageVersion>5.2.103.120724</PackageVersion>
<AnalysisLevel>6.0</AnalysisLevel><!--Next Use 5.2.104-Preview1-->
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/BlazorStrap/Shared/Components/Common/BSCarouselBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private async Task TransitionEndAsync()
Callback.Remove(Callback.First());
}
if (Children[_active].OnShown.HasDelegate)
await Children[_active].OnHidden.InvokeAsync(Children[_active]);
await Children[_active].OnShown.InvokeAsync(Children[_active]);
if (Children[_last].OnHidden.HasDelegate)
await Children[_last].OnHidden.InvokeAsync(Children[_last]);
}
Expand Down

0 comments on commit c824b87

Please sign in to comment.