Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ If checked, the contents of Tab two and three will be loaded after 1 second of p
@code {
bool DeferredLoading = false;

string? activeid = "tab-1";
string? activeid = "tab-3";
FluentTab? changedto;

private void HandleOnTabChange(FluentTab tab)
Expand Down
5 changes: 5 additions & 0 deletions src/Core/Components/Tabs/FluentTabs.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ protected override async Task OnAfterRenderAsync(bool firstRender)

var horizontal = Orientation == Orientation.Horizontal;
await _jsModuleOverflow.InvokeVoidAsync("fluentOverflowInitialize", _dotNetHelper, Id, horizontal, FLUENT_TAB_TAG, 25);

if (ActiveTabId is not null)
{
await HandleOnTabChangedAsync(new TabChangeEventArgs() { ActiveId = ActiveTabId });
}
}
}

Expand Down
Loading