Closed isaax2 closed 3 years ago
Hey there! I just tried this locally and wasn't able to replicate...
Could you throw this into a full demo app to just make sure I'm not missing anything?
Hi @mhartington Here's the demo app running on firebase. https://sidemenu-573a2.web.app/ Here's the code on github https://github.com/isaax2/sidemenu
I confirm this bug. I am experiencing the same issue
Yep, I have the same issue
I am still having to manually add the the margin for both the ion-menu
and ion-modal
.
Update: The issue was a missing <ion-header>
. Thanks!
Closing in favor of https://github.com/ionic-team/ionic-framework/issues/19482
Bug Report
Ionic version:
5.1.1
Current behavior:
When you add a new ion-menu doesn't use safe area(--ion-safe-area-top) on iPhone X in fullscreen mode, you need to add some padding-top manually to display it correctly.
Expected behavior:
It should be set the correct --ion-safe-area-top in ion-menu elements like other elements such as ion-header/ion-toolbar, whose work fine.
Steps to reproduce:
1.- Create a new sidemenu App. 2.-Change the Apple Metatag apple-mobile-web-app-status-bar-style to fullscreenmode "black-translucent" on index.html.
3.- Comment the line in app.component.scss whose is adding the top padding on ion-menu.ios ion-list { // padding: 20px 0 0 0; }, 4.- Serve the app and Add to Home Screen from Safari on IPhone X. 5.- Open the menu, and it shows overlaped with the status bar.
Related code:
Other information:
Ionic info: