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 c8a546f commit 37c132fCopy full SHA for 37c132f
core/src/components/tabs/tabs.tsx
@@ -44,9 +44,10 @@ export class Tabs implements NavOutlet {
44
if (!this.useRouter) {
45
this.useRouter = !!document.querySelector('ion-router') && !this.el.closest('[no-router]');
46
}
47
- const tabs = this.tabs;
48
- await this.select(tabs[0]);
49
-
+ if (!this.useRouter) {
+ const tabs = this.tabs;
+ await this.select(tabs[0]);
50
+ }
51
this.ionNavWillLoad.emit();
52
53
0 commit comments