-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Feature Request
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.1.0 (C:\Users\matth\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.3
@angular-devkit/core : 0.7.4
@angular-devkit/schematics : 0.7.4
@angular/cli : 6.1.4
@ionic/ng-toolkit : 1.0.6
@ionic/schematics-angular : 1.0.5
System:
NodeJS : v8.9.4 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10
Describe the Feature Request
Allow Ionic tabs to be used easily across one or more pages.
Describe Preferred Solution
Allow any page to easily show tabs (that have already been defined). E.g. Create a new page in the Ionic tabs project "account". The account page is a sibling (not a child) of the other pages. Currently, the account page will not display tabs. To display the same three tabs there's a lot of plumbing involved. e.g. Each page would have a corresponding tabs page and tab routes. Across multiple pages this becomes impractical. For a PWA, these urls are not friendly e.g. /tabs-account/(account:account). Even implementing a unique set of tabs per set of pages seems unwieldy since tab pages behave differently than single pages e.g. Tab pages lack "leave" page life cycle events (ionViewWillLeave, ionViewDidLeave, ionViewWillUnload).
Describe Alternatives
Add custom component(s) to footer that looks/behaves like tabs.
Additional Context
Material.io documentation states "Consistent. When used, the bottom navigation bar appears at the bottom of every screen." https://material.io/design/components/bottom-navigation.html#usage