question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ios: tabsHideOnSubPages should default to true

See original GitHub issue

Short description of the problem:

Currently tabsHideOnSubPages defaults to true in iOS.

What behavior are you expecting?

After inspecting native iOS applications, the bottom tabs always go away when a another page is loaded.

Which Ionic Version? 1.x or 2.x 2.x

Plunker that shows an example of your issue

Run ionic info from terminal/cmd prompt: (paste output below) Cordova CLI: 6.2.0 Ionic Framework Version: 2.0.0-beta.11 Ionic CLI Version: 2.0.0-beta.36 Ionic App Lib Version: 2.0.0-beta.19 ios-deploy version: Not installed ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v6.3.0 Xcode version: Xcode 7.3.1 Build version 7D1014

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joekukishcommented, Aug 8, 2016

@brandyscarney my point is that it should default to true instead of false. Personally I was surprised to see that the tabs would not go away once a page is pushed. Initially I though it was a bug then then I realized it is following the default configuration. It gets really confusing if you have for example 2 tabs, and then one items leads to a deeper page. Then you click on “Tab 2”, and then go back to “Tab 1”. I would expect it to show the root of “Tab 1” but instead it kept the state.

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

0reactions
brandyscarneycommented, Aug 11, 2016

In which app? Looking at the WWDC app (which is an Apple app) and the App Store app this is how they both behave. If you navigate to a subpage inside of a tab and then click the tab again it will navigate back to the root page of the tab, if you click between tabs it keeps track of where you are in the navigation stack of each one, and it always shows the tabs on subpages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios: tabsHideOnSubPages should default to true #7584 - GitHub
Currently tabsHideOnSubPages defaults to true in iOS. What behavior are you expecting? After inspecting native iOS applications, the bottom tabs ...
Read more >
ionic3--how can I show tabs in sub page when I set app config ...
ionic3--how can I show tabs in sub page when I set app config 'tabsHideOnSubPages=true' · Subscribe to RSS.
Read more >
Ionic Hide Tabs - ionic-v3
Material design set's tabSubPages to true, but iOS does not because that's their defaults. The tabSubPages config should be in alpha.31.
Read more >
NSUserDefaults | Apple Developer Documentation
An interface to the user's defaults database, where you store key-value pairs persistently across launches of your app. iOS 2.0+ iPadOS 2.0+ macOS...
Read more >
Allow iOS MDM Exchange profile to be set as DEFAULT, and ...
Default false . If set to true , this account will not be available for sending mail in any app other than the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found