@ionic/react-router 8.8.1-dev.11773432149.19826d0c → 8.8.1-dev.11773676615.1d6c4cf7

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
@@ -1533,7 +1533,7 @@ class StackManager extends React.PureComponent {
1533
1533
  * Handles out-of-scope outlet. Returns true if transition should be aborted.
1534
1534
  */
1535
1535
  handleOutOfScopeOutlet(routeInfo) {
1536
- if (!this.outletMountPath || routeInfo.pathname.startsWith(this.outletMountPath)) {
1536
+ if (!this.outletMountPath || isPathnameInScope(routeInfo.pathname, this.outletMountPath)) {
1537
1537
  return false;
1538
1538
  }
1539
1539
  if (this.outOfScopeUnmountTimeout) {
@@ -2952,7 +2952,7 @@ const IonRouter = ({ children, registerHistoryListener }) => {
2952
2952
  *
2953
2953
  * @param tab The tab to set as active.
2954
2954
  */
2955
- const handleSetCurrentTab = (tab) => {
2955
+ const handleSetCurrentTab = (tab, _routeInfo) => {
2956
2956
  currentTab.current = tab;
2957
2957
  const current = locationHistory.current.current();
2958
2958
  if (!current) {