-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Description
Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 2.0.0-rc.6
ionic (Ionic CLI) : 4.0.0-rc.6
local packages:
@angular-devkit/core : 0.6.8
@angular-devkit/schematics : 0.6.8
@angular/cli : 6.0.8
@ionic/schematics-angular : 1.0.0-rc.6
Ionic Framework : @ionic/angular 4.0.0-alpha.7
System:
NodeJS : v8.11.1
npm : 6.1.0
OS : macOS High Sierra
Describe the Bug
When using <ion-tabs tabbarPlacement="top">, the tabs are rendered above the page header and toolbar:
Steps to Reproduce
Steps to reproduce the behavior:
- Create a
@ionic/angular@4.0.0-alpha.7project with the CLI, select the tabs starter:ionic start tabs-placement tabs --type angular - Open
src/app/pages/tabs/tabs.page.html - Add
tabbarPlacement="top"to the<ion-tabs> - Run in the browser with
npm run start
Related Code
<ion-tabs tabbarPlacement="top">
<ion-tab label="Home" icon="home" href="/tabs/(home:home)">
<ion-router-outlet name="home"></ion-router-outlet>
</ion-tab>
<ion-tab label="About" icon="information-circle" href="/tabs/(about:about)">
<ion-router-outlet name="about"></ion-router-outlet>
</ion-tab>
<ion-tab label="Contact" icon="contacts" href="/tabs/(contact:contact)">
<ion-router-outlet name="contact"></ion-router-outlet>
</ion-tab>
</ion-tabs>Expected Behavior
Tabs should be placed at the top of the screen, below the pages <ion-header>.
Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.
silverio, quanganh206, jtorfs01, androidhoya, senuraa and 5 more
Metadata
Metadata
Assignees
Labels
No labels
