We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938768f commit 8e4ee57Copy full SHA for 8e4ee57
src/BootstrapBlazor/Components/IntersectionObserver/LoadMore.razor.cs
@@ -56,12 +56,9 @@ protected override void OnParametersSet()
56
57
private async Task OnIntersecting(IntersectionObserverEntry entry)
58
{
59
- if (entry.IsIntersecting)
+ if (entry.IsIntersecting && CanLoading && OnLoadMore != null)
60
61
- if (OnLoadMore != null)
62
- {
63
- await OnLoadMore();
64
- }
+ await OnLoadMore();
65
}
66
67
0 commit comments