Skip to content

Page navs and overlays with tabs view will overlap with iOS statusbar #6368

@wli

Description

@wli

Short description of the problem:

Page navs and overlays with tabs view will overlap with iOS statusbar. This was fixed for other views (in #6154), but doesn't work with tabs.

screen shot 2016-04-28 at 3 58 40 pm

What behavior are you expecting?

It should not overlap.

Steps to reproduce:

  1. From a tabs page, call nav.push

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Originally addressed in #6154 via f45ddf9

screen shot 2016-04-28 at 3 57 32 pm

As you can see, the new selector ion-navbar-section.statusbar-padding > .toolbar does not apply to the page inside the tab, since there is no ion-navbar-section.

Cleanest solution seems to be creating a new rule ion-tab ion-navbar.statusbar-padding.toolbar, but I will leave it up to the ionic team to decide (maybe @brandyscarney can chime in here)

Which Ionic Version? 2.0.0-beta.6

Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.6
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.5
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.8.0
Xcode version: Xcode 7.3 Build version 7D175

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions