Skip to content

Commit

Permalink
Tab cannot be selected in some cases when TabRenderMode.Client after …
Browse files Browse the repository at this point in the history
…add/remove

Fix #1466
  • Loading branch information
enchev committed Apr 18, 2024
1 parent 53ed0dc commit 1dbfbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/RadzenTabs.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ internal async System.Threading.Tasks.Task SelectTabOnClient(RadzenTabsItem tab)
if (index != selectedIndex)
{
selectedIndex = index;

previousSelectedIndex = selectedIndex;
SetFocusedIndex();

await JSRuntime.InvokeVoidAsync("Radzen.selectTab", $"{GetId()}-tabpanel-{selectedIndex}", selectedIndex);
Expand Down

0 comments on commit 1dbfbe5

Please sign in to comment.