bug: bug: nav-bar leaves empty space on android
Type: bug
Platform: android 4.x webview
When removing the nav-bar on android, it leaves behind it's empty space. On iOS this does not happen. There's more information in this topic of the forums: http://forum.ionicframework.com/t/trouble-hiding-nav-bar/15552
Also having this issue using the Ionic tabs starter.
Any update on this?
I tried on the RC0 and it was still there.
Filipe
http://galasanatatiimintale.ro/opciony_opcion
18.03.2015, 12:28, "Filipe Silva" [email protected]:I tried on the RC0 and it was still there.
—Reply to this email directly or .
Got the same bug here, any plan on when it could be fixed ?
Same issue here.
Possible temporary (ugly) workaround for the tabs template:
In style.css:
.tabs-top > .tabs, .tabs.tabs-top {
top: 0 !important;
}
.has-tabs-top {
top: 54px !important;
}
Bug also in android 5.0.2
I am having the same issue. both in android and ios. Any update on this issue ? any workaround or fixes on the way ?
default ion tabs location is on bottom. but when configured it like this:
$ionicConfigProvider.tabs.position('top');
even iOS devices are showing space on the top tabs.
Is this still an issue?
Yes, it's still happening.
I updated ionic, started a new project via ionic start myApp tabs, served it via ionic serve --lab:

Then I deleted the nav bar code

And got the empty space

I then restored the nav bar code, but added hide-nav-bar="true" to the ion-view

Got the same thing

Okay, for the deleted nav-bar, not sure if this will be something we will want to fix. For the hide-nav-bar, this we can fix.
I just pushed it to our 1.0.2 branch. https://github.com/driftyco/ionic/commit/7e4fb159d3a1119424762000f5b22509abd58720
Until it is released, I suggest you take that code and just throw it in your sass file.
Works for me. Thanks!
Great ! Thank You :)
Hmm, in this case, I'm not sure what we can do. Since the nav-bar isn't really in the DOM, there isn't anything we can really go off of from here.
We would have to write a directive to see if there is a nav-bar in the DOM, if not, add a class to ion-tabs, which I'm not opposed to. Will mention it perry and the team tomorrow
This fix causes trouble on my project, try this codepen adding and removing tabs-top class from the tab bar.
This happens in v2 also. (On android 4)
hello all! Are you still having this issue? Thanks!
Hello! As it has been a little while since there was any activity on this issue I will be closing it. Thanks for using ionic!
I've recently found this issue on Ionic version: 1.3.1 (released 2016-05-12), it show up only on ios 9.1 on iphone 6 plus and Fairphone 1 with Android 4.4.4.
The funny thing is I can see in safari that
.nav-bar-tabs-top.hide ~ .view-container .tabs-top .tabs" { top:0; }
Then If I play with the debugger for instance changing the value to 1 then it gets positioned correctly.