-
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
v4.0.0-alpha.8: does not comply with statusbarPadding #14742
Comments
Hello! Are you still running into this issue with alpha.10 ? |
Hi, thank you for your message! Yes indeed, the situation is the same with latest release version alpha.10: Same with the demo apps on Ionic docs beta, which seem to have been updated to alpha.10 as well:
|
FWIW, same with alpha.11: |
Same issue on beta.0 I made a fresh install of the tabs app, both nav bar and tabs rendered without the proper padding on an iPhone X. |
I agree @Mobiletainment. I am having the same issue, there is too much padding now on 4.0.0-beta.1 |
Yes! Thank you for posting the issue. Too much padding now on 4.0.0-beta.1 |
This should be fixed in |
Works fine now indeed! 👍 Just for the sake of testing, here is a Plunker updated with => statusbarPadding correctly applied for both iOS and MD modes, and hidden when statusbarPadding query parameter is omitted. |
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. |
Bug Report
Ionic Info
Using @ionic/core version 4.0.0-alpha.8 directly from npm / unpkg CDN.
Chromium and Firefox browsers
Describe the Bug
Ionic retrieves some configuration options from the location query parameters that start with
ionic:
.In particular,
ionic:statusbarPadding=true
adds a top margin to account for the mobile status bar / notch (iPhone X).But in version 4.0.0-alpha.8, this configuration option is no longer applied.
Steps to Reproduce
"ios"
mode (as default), the top toolbar displays behind the mobile simulator notch.It was working fine in previous versions, e.g. in 4.0.0-alpha.7:
https://beta.ionicframework.com/docs/api/4.0.0-alpha.7/action-sheet
Related Code
Direct link to demo app: https://beta.ionicframework.com/docs/content/api//action-sheet-demo.html?ionic:mode=ios&ionic:statusbarPadding=true
With a Plunker: https://plnkr.co/edit/Iy74e71fNDoiYPm7VcBo?p=preview (includes an iframe calling a 2nd HTML page so that we can set the option in the
src
query params)Expected Behavior
When the location includes the query parameter
ionic:statusbarPadding=true
, the App should add an extra top margin to account for the device status bar / notch.Additional Context
None.
The text was updated successfully, but these errors were encountered: