fix(footer): padding is added correctly with tabs (#25921)

resolves #25918
This commit is contained in:
Liam DeBeasi
2022-09-13 15:26:42 -05:00
committed by GitHub
parent 777109a7e8
commit edbb64c4b6

View File

@ -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 (
<Host