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

hide-nav-bar="true" not work to hide nav-bar with tabs in Ionic 2 #5164

Closed
kitkimwong opened this issue Jan 24, 2016 · 6 comments
Closed

hide-nav-bar="true" not work to hide nav-bar with tabs in Ionic 2 #5164

kitkimwong opened this issue Jan 24, 2016 · 6 comments
Milestone

Comments

@kitkimwong
Copy link

I only want to hide it in one of the pages excluding others.

<ion-navbar *navbar   >
  <ion-title>Item Details</ion-title>
</ion-navbar>

I have tried hide-nav-bar="true" but it does not work.

@kitkimwong kitkimwong changed the title How to hide nav-bar with tabs in Ionic 2? hide-nav-bar="true" not work to hide nav-bar with tabs in Ionic 2 Jan 24, 2016
@jgw96 jgw96 added the v2 label Mar 14, 2016
@jgw96
Copy link
Contributor

jgw96 commented Mar 14, 2016

Hello, thanks for opening an issue with us! In my opinion the best way to accomplish this would be to use [hidden] on the <ion-navbar /> to hide it for that page.

@jgw96
Copy link
Contributor

jgw96 commented Mar 21, 2016

Hello! Thanks for opening an issue with us! Since it has been a little while since there was any activity on this issue i will be closing it, but feel free to reopen this issue if needed!

@jgw96 jgw96 closed this as completed Mar 21, 2016
@Rambatino
Copy link

Rambatino commented May 9, 2016

I would like to open this again. I'm using:

<ion-navbar [hidden]="true" *navbar>
    <ion-title>Login</ion-title>
</ion-navbar>

However, it doesn't hide the navigation bar.

@Rambatino
Copy link

Also, would you be able to point me in the right direction regarding: https://github.com/driftyco/ionic/blob/2.0/ionic/components/navbar/navbar.ts because it seems like it has that input property exposed.

@jgw96 jgw96 reopened this May 9, 2016
@leohuangyi
Copy link

@jgw96 hi,if this issue will be fixed in the future? I want hide(or remove) in the too, thank you .

@brandyscarney
Copy link
Member

Thanks for the issue! This will be fixed in the beta 10 release.

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

5 participants