diff --git a/core/src/components/footer/footer.tsx b/core/src/components/footer/footer.tsx index a52eccccff..d783dbd0fc 100644 --- a/core/src/components/footer/footer.tsx +++ b/core/src/components/footer/footer.tsx @@ -112,7 +112,7 @@ export class Footer implements ComponentInterface { const { translucent, collapse } = this; const mode = getIonMode(this); const tabs = this.el.closest('ion-tabs'); - const tabBar = tabs?.querySelector('ion-tab-bar'); + const tabBar = tabs?.querySelector(':scope > ion-tab-bar'); return (