<ion-content> goes behind <ion-header> in a menu
See original GitHub issueShort description of the problem:
<ion-content>
goes behind <ion-header>
in a menu causing the top menu items to be cut off.
Which Ionic Version? Ionic 2 beta.10
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Ion-content is cut off by the ion-header - ionic-v3 - Ionic Forum
I just upgraded my app to Beta 10. And as per instructions I've removed *navbar from the <ion-navbar> and wrapped it in a...
Read more ><ion-content> goes behind <ion-header> in Ionic
This is my code in which <ion-content> is hiding behind <ion-header> . My ionic version is 3.19.1. enter image description here. How to...
Read more >How to Create an Effective Ionic Menu With and Without a ...
Next comes the menu itself. ... Just after the menu component's ion-header , add an ion-content . And just inside that an ion-list...
Read more >Ionic adding a side menu - Daily Dev Tips
... <ion-title class="menu-title">Menu</ion-title> </ion-toolbar> </ion-header> <ion-content> <ion-list> <ion-menu-toggle auto-hide="true"> ...
Read more >Theming and Styling Ionic 5 Apps: Toolbar and Menu Example
You can change default Ionic 5 colors by going to the ... .menu-inner > ion-header, .menu-inner > ion-content, .menu-inner > ion-footer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@falasvand I solved it by following the docs:https://ionicframework.com/docs/api/components/content/Content/
Declare this in your component:
@ViewChild(Content) content: Content;
Then after getting the data back in the
subscribe
, I used:this.content.resize();
and it worked just fine.I too am facing this problem. I have an
ion-header
and thenion-content
. It works fine while debugging on the browser but the content hides behind the header when running in emulator or on a real device. This particularly happens when I add a new item however.