I have a sidebar menu where I am extracting out the sidebar in one component. This component simply has ion-header, ion-content and ion-footer, with some html inside them to show menu and user etc.
If I keep this in app.component.html, the height of ion-content and ion-footer are fine. But if I make another component and use that component, the height of ion-content and ion-footer becomes 0.
Is this expected? Or there is any fix around that.