ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

v2 beta.10: navbar overlap with iOS statusbar when tabbar hidden

Open zzpmaster opened this issue 10 years ago • 9 comments

In beta 10, setting tabSubPages: true , althought the tabbar is hidden, but tabs view will overlap with iOS statusbar. like #6368.

screen_shot_2016-07-05_at_2_51_29_pm screen_shot_2016-07-05_at_10_06_44_am

What behavior are you expecting? not overlap.

Steps to reproduce:

  1. set tabSubPages: true in ionicBootstrap
  2. call nav.push to detail page

Which Ionic Version? 2.0.0-beta.10

Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.1 Ionic CLI Version: 2.0.0-beta.10 Ionic App Lib Version: 2.0.0-beta.3 ios-deploy version: 1.8.6 ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v5.11.1 Xcode version: Xcode 7.1 Build version 7B91b

zzpmaster avatar Jul 05 '16 06:07 zzpmaster

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

jgw96 avatar Jul 05 '16 15:07 jgw96

+1, only happend on ios device

tivonchen avatar Jul 06 '16 06:07 tivonchen

@jgw96 Hello, this problem only happen on iphone or iphone simulator.

zzpmaster avatar Jul 06 '16 06:07 zzpmaster

I have having the same issue. I have a tabs page inside of a sidebar nav. All of my headers are squished up into the phone's toolbar. See screenshot (sorry for the wasted whitespace on the screenshot) screen shot 2016-07-06 at 9 53 00 am

Ionic Info:

Cordova CLI: 6.2.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.5
Xcode version: Xcode 7.3.1 Build version 7D1014

TheBrockEllis avatar Jul 06 '16 14:07 TheBrockEllis

Have you try to use the status-bar plugin from ionic-native to solve this issue?

emeryao avatar Jul 07 '16 04:07 emeryao

This will be fixed in the beta 11 release. Also, tabSubPages has been renamed for beta 11 to tabsHideOnSubPages as part of https://github.com/driftyco/ionic/issues/7143.

Just to let everyone know, if you set the statusbarPadding in the config you will be able to reproduce any status bar issues in a browser/plunker:

ionicBootstrap(E2EApp, [], {
  statusbarPadding: true
});

Thanks!

brandyscarney avatar Jul 07 '16 19:07 brandyscarney

beta 10 when tabSubPages:true, statusbarPadding:true won't fix the problem

ginsleepy avatar Jul 19 '16 09:07 ginsleepy

Bug still present on beta 11, any news?

yelhouti avatar Aug 27 '16 18:08 yelhouti

Confirmed - this is still broken in beta 11. enabling tabsHideOnSubPages means that the tabs are indeed hidden on sub pages but the status bar padding is lost.

Please fix.

alexmady avatar Aug 29 '16 11:08 alexmady