@ionic/react 8.3.1-dev.11726094383.1cdbab6f → 8.3.1-dev.11726165401.13e99534

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1963,7 +1963,7 @@ class IonTabBarUnwrapped extends React.PureComponent {
1963
1963
  };
1964
1964
  }
1965
1965
  onTabButtonClick(e, onClickFn) {
1966
- var _a, _b;
1966
+ var _a;
1967
1967
  const tappedTab = this.state.tabs[e.detail.tab];
1968
1968
  const originalHref = tappedTab.originalHref;
1969
1969
  /**
@@ -1994,10 +1994,8 @@ class IonTabBarUnwrapped extends React.PureComponent {
1994
1994
  if (this.props.onIonTabsDidChange) {
1995
1995
  this.props.onIonTabsDidChange(new CustomEvent('ionTabDidChange', { detail: { tab: e.detail.tab } }));
1996
1996
  }
1997
- if ((_b = this.props.routerOutletRef) === null || _b === void 0 ? void 0 : _b.current) {
1998
- this.setActiveTabOnContext(e.detail.tab);
1999
- this.context.changeTab(e.detail.tab, currentHref, e.detail.routeOptions);
2000
- }
1997
+ this.setActiveTabOnContext(e.detail.tab);
1998
+ this.context.changeTab(e.detail.tab, currentHref, e.detail.routeOptions);
2001
1999
  }
2002
2000
  }
2003
2001
  renderTabButton(activeTab) {