Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic-angular@2.0.0-beta.10 navcontroller.push page not working #7236

Closed
elineopsommer opened this issue Jul 8, 2016 · 1 comment
Closed

Comments

@elineopsommer
Copy link

Short description of the problem:

If you push a detailpagina on a tabspage, the detailpage overlaps the tabs, which isn't meant to. You can set the css of the ion-tabbar to an z-index of 1000, then the tabs will stay, but if you then click on another tab, the content of the detailpage stays visible instead of the content of the chosen tab.

What behavior are you expecting?

Correct behaviour of the tabs

Steps to reproduce:

  1. ionic start testtab --v2
  2. add a button which pushes the detailpage on a tab
  3. ionic serve
goToDetail() {
      this.nav.push(Detailpage);
    }

Which Ionic Version? 2.x

Plunker that shows an example of your issue

http://plnkr.co/edit/IYhrIxIx7I17zi9V3H2y?p=preview

Run ionic info from terminal/cmd prompt: (paste output below)

Your system information:

Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v5.3.0
Xcode version: Xcode 7.3.1 Build version 7D1014

@brandyscarney
Copy link
Member

This is the desired behavior for md mode. To change this you can set tabSubPages to false. Note: this property has been renamed for beta 11 to tabsHideOnSubPages (see #7143).

Please see the config docs for more information on setting these properties: http://ionicframework.com/docs/v2/api/config/Config/

There is also a table further down with descriptions of each property.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants