diff --git a/src/elements/tabs/tab-group/tab-group.ts b/src/elements/tabs/tab-group/tab-group.ts index 7cf1a3ca27..73f434d3d8 100644 --- a/src/elements/tabs/tab-group/tab-group.ts +++ b/src/elements/tabs/tab-group/tab-group.ts @@ -171,6 +171,9 @@ class SbbTabGroupElement extends SbbHydrationMixin(LitElement) { if (loadedTabs.length) { loadedTabs.forEach((tab) => this._configure(tab)); this._tabs = this._tabs.concat(loadedTabs); + + // If there is an active tab in the new batch, it becomes the new selected + loadedTabs.find((tab) => tab.active)?.tabGroupActions?.select(); } };