-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
[Ionic v4] ion-header ion-toolbar height to big on Android devices #15116
Comments
I solved the issue using these steps:
Reference: https://github.com/jeneser/ionic-super-bar |
@JAYiSON021 I don't think that's related. With the same platform version I don't face the problem with v3 only with v4 |
@peterpeterparker I tried that in my newly generated project (v4) because i had the same problem on native device. |
@JAYiSON021 in that case that's a workaround, thx ;) Out of the box I think that the height of the header of a Ionic app should match the device without any modification in the platform code therefore I think it need a fix |
what happens if you do : or
also check the config.xml to see if its enabled/disabled |
@bleuscyther I migrate my app from v3 to v4, the statusbar settings are exactly the same |
i just noticed that the page looking at for a reference has no header. |
@peterpeterparker Are you still seeing this on |
@brandyscarney thx for asking. yes the issue is still here with beta.3 screenshot of my paired device screenshot from the device |
@manucorporat I think we need to check for the platform class for this: https://github.com/ionic-team/ionic/blob/master/core/src/components/app/app.scss#L6 |
@brandyscarney you are right, the following CSS fixed it
|
I could confirm that, with v4-beta.5, the height of my toolbar/header is now correct on both real iPhone 6s and Android Samsung Edge and simulated iPhone X Thx a lot! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Ionic Info
@ionic/angular: "4.0.0-beta.2"
Describe the Bug
The
ion-header ion-toolbar
height is too big on (real) Android devices (see Screenshot)Expected Behavior
A correct header size on devices
Related
In beta.2 the same issue was solved for iOS, don't know if it's related #15073
Screenshot
![screenshot_20180810-101102](https://user-images.githubusercontent.com/16886711/43946580-e9b81848-9c85-11e8-9b40-25ab6f39cb94.png)
The text was updated successfully, but these errors were encountered: