mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(footer): padding is added correctly with tabs (#25921)
resolves #25918
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user